xtern commented on a change in pull request #9047: URL: https://github.com/apache/ignite/pull/9047#discussion_r622199929
########## File path: modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageImpl.java ########## @@ -1210,6 +1210,39 @@ private void onAckMessage( } } + /** + * @return Future which will be completed when all the updates prior to the pause processed. + */ + public Future<?> flush() { + assert isPersistenceEnabled; + + lock.readLock().lock(); Review comment: what readLock is guarding here? -- 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: us...@infra.apache.org