ibessonov commented on code in PR #5670:
URL: https://github.com/apache/ignite-3/pull/5670#discussion_r2054586540


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/persistence/RocksDbKeyValueStorage.java:
##########
@@ -1674,8 +1740,9 @@ protected Entry decodeEntry(byte[] key, byte[] 
keyRevisionsBytes) {
                 long revision = keyRevisions[maxRevisionIndex];
                 Value value = getValueForOperationNullable(key, revision);
 
-                // Value may be null if the compaction has removed it in 
parallel.
-                if (value == null || value.tombstone()) {
+                assert value != null : "key=" + toUtf8String(key) + ", 
revision=" + revision + ", compactionRevision=" + compactionRevision;

Review Comment:
   You know what, I don't understand it either. I'll check it tomorrow



-- 
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

Reply via email to