Details
Description
In PYCBC-775, we added a bunch of settings to cluster which propagate down to all the buckets as well. Lets make sure when we create new buckets after a call to one or more of the setters for the various options, that bucket gets these settings as well.
Ideally we will wait on this until we do 2 things:
(1) share connections across collections that share the same bucket (PYCBC-815)
(2) rework the test framework to not use the ClassicAuthenticator as this makes that cluster's subsequent open_bucket calls always fail (PYCBC-832)
Of course, having an object that held all these settings (like an environment of some sort) is ideal. But maybe we can just cache the settings that changed in cluster, and use that to call the settings on the new bucket, etc...
Attachments
For Gerrit Dashboard: PYCBC-831 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
123402,6 | PYCBC-775: Migrate client attributes | master | couchbase-python-client | Status: MERGED | +2 | +1 |
125917,4 | PYCBC-831: Cluster settings should apply to new buckets as well | master | couchbase-python-client | Status: ABANDONED | -1 | 0 |
126535,7 | PYCBC-831: Timeout, tracing and cluster setting rework | master | couchbase-python-client | Status: MERGED | +2 | +1 |