tkalkirill commented on code in PR #4602: URL: https://github.com/apache/ignite-3/pull/4602#discussion_r1808546949
########## modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/AbstractKeyValueStorage.java: ########## @@ -79,22 +91,30 @@ public abstract class AbstractKeyValueStorage implements KeyValueStorage { protected final AtomicBoolean stopCompaction = new AtomicBoolean(); /** Tracks only cursors, since reading a single entry or a batch is done entirely under {@link #rwLock}. */ - protected final ReadOperationForCompactionTracker readOperationForCompactionTracker = new ReadOperationForCompactionTracker(); + protected final ReadOperationForCompactionTracker readOperationForCompactionTracker; - /** - * Used to generate read operation ID for {@link #readOperationForCompactionTracker}. - * - * <p>Multi-threaded access is guarded by {@link #rwLock}.</p> - */ - protected long readOperationIdGeneratorForTracker; + protected final ExecutorService compactionExecutor; + + private final List<CompactionListener> compactionListeners = new CopyOnWriteArrayList<>(); Review Comment: So far I don't see any point in one event. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org