Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0.0-alpha.6
-
Enterprise Edition 6.5.0 build 4059
Description
CAS value provided in MutateInOptions is not considered for durability mutations.
Always CAS=0x0000000000000000 is seen in wireshark capture as well.
Build: alpha-6 on 6.5.0-4059
Code snippet:
MutateInOptions t_mutateInOptions = this.getMutateInOptions(expiry, expiryTimeUnit, persistTo, replicateTo, timeOut, timeUnit, durabilityLevel);
|
if (cas > 0) {
|
t_mutateInOptions = t_mutateInOptions.cas(cas);
|
}
|
final MutateInOptions mutateInOptions = t_mutateInOptions;
|
TAF testcase:
subdoc.subdoc_xattr.SubdocXattrSdkTest:
|
test_use_cas_changed_upsert,skip_cleanup=True,GROUP=P0,replicas=0
|