Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
2.3.3
-
None
-
None
-
1
Description
The BucketManager.GetBucket(name) function returns the BucketSettings of the bucket, however the ConflictResolutionType is only part of the CreateBucketSettings type (a superset of BucketSettings).
This means you can not tell the ConflictResolution type of an existing bucket. The other SDKs (Java, .NET), include the ConflictResolution in the regular BucketSettings, so a user is able to access these settings when retrieving a bucket's settings.
I think there should be a way to get this setting in Gocb also, though Gocb does seem to follow the RFC and the others don't in this regard. So this could be an bug/improvement for Gocb + the RFC.