tkalkirill commented on code in PR #1325:
URL: https://github.com/apache/ignite-3/pull/1325#discussion_r1030632661
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/index/sorted/PageMemorySortedIndexStorage.java:
##########
@@ -57,6 +69,13 @@ public class PageMemorySortedIndexStorage implements
SortedIndexStorage {
/** Highest possible RowId according to signed long ordering. */
private final RowId highestRowId;
+ /** Busy lock for synchronous closing. */
+ private final IgniteSpinBusyLock closeBusyLock = new IgniteSpinBusyLock();
+
+ /** To avoid double closure. */
+ @SuppressWarnings("unused")
+ private volatile boolean started = true;
Review Comment:
Change 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]