Maksim Timonin created IGNITE-19289:
---------------------------------------

             Summary: Restoring snapshots fails after Ignite#destroyCache
                 Key: IGNITE-19289
                 URL: https://issues.apache.org/jira/browse/IGNITE-19289
             Project: Ignite
          Issue Type: Bug
            Reporter: Maksim Timonin


Ignite#destroy cache returns earlier than it actually cleaning a cache 
directory. ThenĀ 
{code:java}
ignite.destroyCache(CACHE)
ignite.snapshot().restoreSnapshot(...)
{code}
might fail with error:
{code:java}
Unable to restore cache group - directory is not empty. Cache group should be 
destroyed manually before perform restore operation [group=CACHE, 
dir=/data/tcAgent/work/7bc1c54bc719b67c/work/db/incremental_IncrementalSnapshotRestoreTest1/cache-CACHE]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to