Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
4.5.0
-
None
-
Untriaged
-
No
Description
GSI tracks all fdb_commit()s and their corresponding snapshot markers.
So if during full compaction commit forestdb appends a DB header which carries no additional user data (gatherStaleRegions) from the previous commit, then it breaks GSI compact_upto() because the new snapshot marker and previous marker are identical from application perspective.
The fix is to adapt forestdb to never append a DB commit header when there is no delta data from application.
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-20803 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
67398,2 | MB-20803: Test case for DB headers without user data on compaction | unstable | forestdb | Status: ABANDONED | 0 | -1 |