tkalkirill commented on code in PR #845:
URL: https://github.com/apache/ignite-3/pull/845#discussion_r889929215
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PageMemoryStorageEngine.java:
##########
@@ -43,29 +55,88 @@ public class PageMemoryStorageEngine implements
StorageEngine {
/** Engine name. */
public static final String ENGINE_NAME = "pagememory";
+ private final String igniteInstanceName;
+
private final PageMemoryStorageEngineConfiguration engineConfig;
private final PageIoRegistry ioRegistry;
- private final Map<String, VolatilePageMemoryDataRegion> regions = new
ConcurrentHashMap<>();
+ private final Path storagePath;
+
+ @Nullable
+ private final LongJvmPauseDetector longJvmPauseDetector;
+
+ private final Map<String, AbstractPageMemoryDataRegion> regions = new
ConcurrentHashMap<>();
+
+ @Nullable
+ private volatile FilePageStoreManager filePageStoreManager;
+
+ @Nullable
+ private volatile CheckpointManager checkpointManager;
Review Comment:
Yes, start in one thread, stop and access to these fields is not.
--
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]