tkalkirill commented on code in PR #2126:
URL: https://github.com/apache/ignite-3/pull/2126#discussion_r1214016050
##########
modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/GarbageCollector.java:
##########
@@ -205,7 +205,10 @@ boolean tryAddToGcQueue(WriteBatchWithIndex writeBatch,
RowId rowId, HybridTimes
// However, the element that we need to garbage collect is the next
(older one) element.
// First we check if there's anything to garbage collect. If the
element is a tombstone we remove it.
// If the next element exists, that should be the element that we want
to garbage collect.
- try (RocksIterator gcIt = db.newIterator(gcQueueCf,
helper.upperBoundReadOpts)) {
+ try (
+ RocksIterator newGcIt = db.newIterator(gcQueueCf,
helper.upperBoundReadOpts);
Review Comment:
Try to fix it.
--
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]