ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] EdShangGG commented on a change in pull request #6500: IGNITE-10913
Date Tue, 21 May 2019 17:04:24 GMT
EdShangGG commented on a change in pull request #6500: IGNITE-10913
URL: https://github.com/apache/ignite/pull/6500#discussion_r286128834
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/FilePageStoreManager.java
 ##########
 @@ -452,7 +452,10 @@ public FilePageStoreManager(GridKernalContext ctx) {
 
     /** {@inheritDoc} */
     @Override public void onPartitionCreated(int grpId, int partId) throws IgniteCheckedException
{
-        // No-op.
+        PageStore store = getStore(grpId, partId);
+
+        if (store instanceof FilePageStore)
+            ((FilePageStore)store).dereferenceFile();
 
 Review comment:
   It would be redundant if we remove cfgFile field.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message