skaled icon indicating copy to clipboard operation
skaled copied to clipboard

Invalid path while importing downloaded snapshot

Open sync-by-unito[bot] opened this issue 4 years ago • 7 comments

skaled was starting from snapshot and got this error.

┆Issue is synchronized with this Jira Bug ┆Attachments: good_snapshot_downloading.log | skale_schain_rapping-cursa.log

sync-by-unito[bot] avatar Jul 13 '21 10:07 sync-by-unito[bot]

➤ Dima Litvinov commented:

waiting for reproduction on 3.7.3-fixed-delete ( https://hub.docker.com/layers/skalenetwork/schain/3.7.3-fixed-delete/images/sha256-a7ec735d857dcf8da838eb80c7ec4808995f523e467315b13fc0dab441706ccf?context=explore )

sync-by-unito[bot] avatar Jul 19 '21 12:07 sync-by-unito[bot]

➤ Oleksandr Sydorenko commented:

Verified on 3.7.3-fixed-delete

[^good_snapshot_downloading.log]

sync-by-unito[bot] avatar Jul 26 '21 10:07 sync-by-unito[bot]

➤ Oleksandr Sydorenko commented:

Should be rechecked on the stable version of skaled

sync-by-unito[bot] avatar Jul 26 '21 12:07 sync-by-unito[bot]

➤ Oleksandr Sydorenko commented:

blocked by https://skalelabs.atlassian.net/browse/SKALE-3939 ( https://skalelabs.atlassian.net/browse/SKALE-3939|smart-link )

sync-by-unito[bot] avatar Jul 29 '21 17:07 sync-by-unito[bot]

➤ Ganna Kulikova commented:

Should be checked by Dima Litvinov

sync-by-unito[bot] avatar Aug 02 '21 12:08 sync-by-unito[bot]

➤ Automation for Jira commented:

Corresponding Pull Request https://github.com/skalenetwork/skaled/pull/734

sync-by-unito[bot] avatar Aug 02 '21 15:08 sync-by-unito[bot]

Re-verify for 2.1

gannakulikova avatar Oct 05 '22 15:10 gannakulikova

Actual if remove the snapshot physically from the shared space directory during downloading procedure

In other cases is not reproducible.

Version: skalenetwork/schain:3.16.0-beta.6

oleksandrSydorenkoJ avatar Jan 24 '23 18:01 oleksandrSydorenkoJ

Snapshot hash should be at least 4 GB

Steps to reproduce

  1. restart the skaled on the node from the snapshot.
  2. Check skaled start download the sanspshot.
  3. remove the snapshot from the shared-space/data/ directory
  4. Check skaled logs
--- FATAL: Exception while importing downloaded snapshot:  --- Invalid path /shared-space/data/428276

in other cases skaled does not return this error

oleksandrSydorenkoJ avatar Jan 24 '23 18:01 oleksandrSydorenkoJ

Corner case, can be postponed

EvgeniyZZ avatar Feb 01 '23 13:02 EvgeniyZZ