Details
-
Bug
-
Resolution: Fixed
-
Critical
-
feature-backlog
-
Security Level: Public
-
None
-
Untriaged
-
Unknown
-
June 30 - July 18
Description
The rollback API allows the applications to rollback their database to a specific point that is represented as a sequence number.
Here is the rollback API definition:
LIBFDB_API
fdb_status fdb_rollback(fdb_handle *handle, fdb_seqnum_t seqnum);
This API does a reverse scan on the given database handle until it finds the database header whose last sequence number <= seqnum, and then rollbacks the database to that header state, and returns FDB_RESULT_SUCCESS. If it can't find the header, then it will return FDB_RESULT_ROLLBACK_FAIL.
Attachments
For Gerrit Dashboard: MB-10804 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
36432,6 | MB-10804: Add Rollback support to forestdb | master | forestdb | Status: MERGED | +2 | +1 |