Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
Description
The couchbase.cluster.Cluster._admin property attempts to provide on demand instantiate of an Admin connection for the cluster but we currently access this as soon as we open a bucket (passed in as a parameter to couchbase_core.cluster._Cluster.open_bucket). We should further delay this construction until it is actually needed, i.e. when calling CollectionManager or ViewIndexManager methods, where the initial Cluster connection is not already admin (otherwise, we can reuse the initial cluster connection for this).
Attachments
Issue Links
- has to be done after
-
PYCBC-866 Queries (query, cbas, fts) all require an open bucket if < 6.5
- Open