SammyVimes commented on code in PR #2237:
URL: https://github.com/apache/ignite-3/pull/2237#discussion_r1243273689
##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/persistence/RocksDbKeyValueStorage.java:
##########
@@ -170,6 +172,12 @@ public class RocksDbKeyValueStorage implements
KeyValueStorage {
/** Snapshot manager. */
private volatile RocksSnapshotManager snapshotManager;
+ /**
+ * Revision listener for recovery only. Notifies {@link
MetaStorageManagerImpl} of revision update.
+ * Guarded by {@link #rwLock}.
+ */
+ private LongConsumer revisionListener;
Review Comment:
Why not LongConsumer? It is a listener of long after all, no need to create
an extra interface for such a small task
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]