raiseLastCommittedSequenceNumber method
Raise lastCommittedSequenceNumber to at least commitId, so
commit never issues commitId or any id below it. Migration uses it
to carry the source's last commit id across: the source's newest
entries may have been purged, so the entries it replays do not show
it.
Implementation
@override
Future<void> raiseLastCommittedSequenceNumber(int commitId) async {
try {
await _commitLogKeyStore.raiseHighWaterMark(commitId);
} on HiveError catch (e) {
throw DataStoreException(
'Hive error raising the last commit id: ${e.toString()}');
}
}