Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.5.1, 6.6.0, 6.6.1, 6.6.2, 6.5.2, 6.5.0, 6.6.3, 6.6.4, 6.6.5, 7.0.0, 7.0.1, 7.0.2, 7.0.3
-
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
Attachments
For Gerrit Dashboard: MB-51421 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
172192,5 | MB-51421: couch_dbdump incorrect decode of flex_code for deletion source | master | couchstore | Status: MERGED | +2 | +1 |
172773,2 | MB-51421: [BP] couch_dbdump incorrect decode of flex_code for deletion source | cheshire-cat | couchstore | Status: MERGED | +2 | +1 |
172788,1 | MB-51421: Merge 'couchbase/cheshire-cat' into 'couchbase/neo' | neo | couchstore | Status: MERGED | +2 | +1 |
180912,1 | Merge remote-tracking branch 'couchbase/neo' into master | master | couchstore | Status: MERGED | +2 | +1 |