You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by tk...@apache.org on 2022/10/03 07:25:45 UTC

[ignite-3] branch main updated: IGNITE-17795 Need to stop the checkpoint manager before the data regions stop (#1149)

This is an automated email from the ASF dual-hosted git repository.

tkalkirill pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new ccc8948a8c IGNITE-17795 Need to stop the checkpoint manager before the data regions stop (#1149)
ccc8948a8c is described below

commit ccc8948a8c92c4f5dc39996b67c3b34ee4b9b77c
Author: Kirill Tkalenko <tk...@yandex.ru>
AuthorDate: Mon Oct 3 10:25:40 2022 +0300

    IGNITE-17795 Need to stop the checkpoint manager before the data regions stop (#1149)
---
 .../storage/pagememory/PersistentPageMemoryStorageEngine.java        | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PersistentPageMemoryStorageEngine.java b/modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PersistentPageMemoryStorageEngine.java
index a9b45cd248..b669a01dc9 100644
--- a/modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PersistentPageMemoryStorageEngine.java
+++ b/modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PersistentPageMemoryStorageEngine.java
@@ -107,7 +107,6 @@ public class PersistentPageMemoryStorageEngine implements StorageEngine {
         return engineConfig;
     }
 
-    /** {@inheritDoc} */
     @Override
     public void start() throws StorageException {
         int pageSize = engineConfig.pageSize().value();
@@ -164,7 +163,6 @@ public class PersistentPageMemoryStorageEngine implements StorageEngine {
         });
     }
 
-    /** {@inheritDoc} */
     @Override
     public void stop() throws StorageException {
         try {
@@ -178,13 +176,12 @@ public class PersistentPageMemoryStorageEngine implements StorageEngine {
                     filePageStoreManager == null ? null : (AutoCloseable) filePageStoreManager::stop
             );
 
-            closeAll(Stream.concat(closeRegions, closeManagers));
+            closeAll(Stream.concat(closeManagers, closeRegions));
         } catch (Exception e) {
             throw new StorageException("Error when stopping components", e);
         }
     }
 
-    /** {@inheritDoc} */
     @Override
     public PersistentPageMemoryTableStorage createMvTable(TableConfiguration tableCfg, TablesConfiguration tablesCfg)
             throws StorageException {