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:49:00 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-19289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Timonin reassigned IGNITE-19289:
---------------------------------------

    Assignee: Maksim Timonin

> 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
>            Assignee: Maksim Timonin
>            Priority: Major
>              Labels: ise
>
> 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)