Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
Bucket.defaultCollection() behaves differently from Bucket.scope("_default").collection("_default").
defaultCollection() does not refresh the collection map. AsyncScope.collection() does attempt to refresh the collection map, even for the default collection. When running against Couchbase Server prior to 7.0, This results in warnings in the log about failed manifest update requests.
The workaround is to call `defaultCollection()` instead of `scope("_default").collection("_default")`, but it would be nice if users didn't have to do this.