You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2023/04/17 12:23:00 UTC

[jira] [Created] (IGNITE-19289) Restoring snapshots fails after Ignite#destroyCache

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)