commit method
Append a new entry for key / operation. Returns the
assigned commitId, or -1 for keys that bypass the commit
log (private:, privatekey:, public:_, local:, ...).
Implementation
@override
Future<int?> commit(String key, CommitOp operation) async =>
commitSync(key, operation);