Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n1ql query timeout should be set at both bucket and cluster level #3839

adamcfraser opened this issue Nov 28, 2018 · 0 comments


Copy link

commented Nov 28, 2018

SG is currently setting the n1ql query for the bucket:


However, gocb will override that with the cluster-level query timeout if the cluster-level value is lower:

Since we establish a cluster connection per SG database, it should be sufficient to set both the cluster and bucket timeout to the same value. The cluster timeout needs to be specified as part of the connection string, to get picked up during cluster connect here:

@adamcfraser adamcfraser added this to the Iridium milestone Nov 28, 2018

@adamcfraser adamcfraser changed the title n1ql query timeout needs to be set at both bucket and cluster level n1ql query timeout should be set at both bucket and cluster level Nov 28, 2018

@adamcfraser adamcfraser added the backlog label Dec 5, 2018

@adamcfraser adamcfraser added ready backlog and removed backlog ready labels Dec 10, 2018

@adamcfraser adamcfraser self-assigned this Jan 3, 2019

@adamcfraser adamcfraser added in progress review and removed backlog labels Jan 3, 2019

@bbrks bbrks closed this in #3885 Jan 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.