ViewQuery multi bucket connection issue

Description

This has been a tough one to hunt down and figure out but the situation we are having is that we have multiple buckets and one of the buckets has a view design document on it. We've come to the conclusion that if you have a single cluster connection with multiple buckets you may have problems running ViewQuery or even UpsertDesignDocument.

 

Step to recreate

Create bucket A

Create bucket B

Add View to bucket

Run View query against bucket A

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot November 23, 2021 at 11:21 AM

Build couchbase-server-7.1.0-1767 contains gocb commit 9b54ac3 with commit message:
: Route view queries to agents not agent group

CB robot March 17, 2021 at 11:20 AM

Build couchbase-server-7.0.0-4715 contains gocb commit 9b54ac3 with commit message:
: Route view queries to agents not agent group

CB robot January 4, 2021 at 10:01 PM

Build sync_gateway-3.0.0-96 contains gocb commit 9b54ac3 with commit message:
: Route view queries to agents not agent group

Charles Dixon December 4, 2020 at 9:33 AM

This requires a fix on the gocb side, in the gerrit review linked to this ticket (http://review.couchbase.org/c/gocb/+/141443) you can see the fix. This will be part of the 2.2 release this month.

Brian Voelker December 3, 2020 at 10:36 PM

Can you give me an example usage? I dont fully understand how to implement what your describing.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created December 3, 2020 at 5:03 PM
Updated November 23, 2021 at 11:21 AM
Resolved December 7, 2020 at 9:06 AM
Instabug