tkalkirill commented on code in PR #4632: URL: https://github.com/apache/ignite-3/pull/4632#discussion_r1816779509
########## modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/AbstractKeyValueStorage.java: ########## @@ -224,34 +214,24 @@ public long getCompactionRevision() { } @Override - public void startCompaction(long compactionRevision) { + public void updateCompactionRevision(long compactionRevision, KeyValueUpdateContext context) { assert compactionRevision >= 0 : compactionRevision; rwLock.writeLock().lock(); try { assertCompactionRevisionLessThanCurrent(compactionRevision, rev); + saveCompactionRevision(compactionRevision, context); + if (isInRecoveryState()) { - this.compactionRevision = compactionRevision; + setCompactionRevision(compactionRevision); Review Comment: We discussed it in person, let's leave it like that. -- 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