Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.5.0, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.5.1, 6.0.5, 6.6.0, 6.6.1, 6.6.2, 6.5.2, 7.0.0, 6.6.3, 7.0.3, 7.0.2, 7.0.1, 6.6.5, 6.6.4
-
Untriaged
-
1
-
Unknown
Description
Couchstore stores the delete source in the top-bit of flex_code and couch_dbdump decodes the flex_code to find the "TTL" delete flag as follows:
ttl_delete = ((metaV1->flex_code << 7) & 0x1) == 1;
|
But that should be a right shift so will always print documents as explicitly deleted
Build couchbase-server-7.2.0-5000 contains couchstore commit b35acc4 with commit message:
MB-51421: [BP] couch_dbdump incorrect decode of flex_code for deletion source