Description
For applications like ep-engine, the items that are rolled back on disk also needs to be rolled back in memory too. In order to facilitate that ForestDB needs to provide a rollback API with a document's target state. For example, if the document being rolled back was a new document, its target state should be deleted. If it was an updated version of the document, its target state should be the previous version. This way, the application can easily restore state of the rolled back documents.
Attachments
For Gerrit Dashboard: MB-16493 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
64137,11 | MB-16493: Adding a changes_since API to iterate over a seqno range | master | forestdb | Status: MERGED | +2 | +1 |
64181,3 | MB-16493: Introduce a new error message: FDB_RESULT_CANCELLED | master | forestdb | Status: MERGED | +2 | +1 |
64187,10 | MB-16493: Adopting the new FDB API: fdb_changes_since | master | ep-engine | Status: MERGED | +2 | +1 |