You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a snapshot segment is merged with another in the Erigon BitTorrent snapshot downloader, it becomes impossible to download the unmerged segments. This behavior can cause significant issues, particularly when users are syncing while we update to a new snapshot version (e.g., R2). In such scenarios, the ongoing sync process for these users can be disrupted or ruined due to the unavailability of unmerged segments.
Impact
Users who attempt to sync while an update to a new snapshot (e.g., R2) is in progress may experience failed or corrupted syncs.
This can lead to a poor user experience, increased network load as users attempt to recover, and potential data inconsistencies.
Steps to Reproduce
Start syncing using the current snapshot downloader.
Initiate a merge of snapshot segments.
Attempt to download unmerged segments post-merge.
Observe that the unmerged segments are not available for download.
The snapshot downloader should allow the download of unmerged segments even after a segment has been merged.
Users should be able to continue their sync uninterrupted, regardless of the merging process.
Actual Behavior
After merging, unmerged segments are no longer downloadable.
Users syncing during this process may encounter sync failures or corrupt data.
Proposed Solution
Implement a mechanism to retain and provide access to unmerged segments even after a merge has taken place.
Ensure that the system can handle segment merges without disrupting ongoing syncs.
Additional Context
This issue becomes critical when transitioning to a new snapshot version (e.g., R2) while users are actively syncing. Ensuring that all segments, merged and unmerged, are available for download until the sync completes is essential for a stable syncing process.
Environment
Erigon Version: [Specify the version]
Operating System: [Specify OS]
Other Relevant Details: [Add any other details here]
Possible Workarounds
[If any workarounds exist, describe them here]
[Otherwise, state "None"]
References
[Link to any related issues or discussions]
The text was updated successfully, but these errors were encountered:
Description
After a snapshot segment is merged with another in the Erigon BitTorrent snapshot downloader, it becomes impossible to download the unmerged segments. This behavior can cause significant issues, particularly when users are syncing while we update to a new snapshot version (e.g., R2). In such scenarios, the ongoing sync process for these users can be disrupted or ruined due to the unavailability of unmerged segments.
Impact
Steps to Reproduce
An easy way to reproduce is:
./build/bin/erigon --chain=gnosis --datadir gnosis_datadir
then stop it immediately and write in
gnosis_datadir/snapshots/preverified.toml
the following contenthttps://discord.com/channels/1133875232453693480/1226807326883971072/1285689823696261230
some of the now-merged files, that are present on https://erigon3-v1-snapshots-gnosis.erigon.network/ won't be downloaded.
Expected Behavior
Actual Behavior
Proposed Solution
Additional Context
This issue becomes critical when transitioning to a new snapshot version (e.g., R2) while users are actively syncing. Ensuring that all segments, merged and unmerged, are available for download until the sync completes is essential for a stable syncing process.
Environment
Possible Workarounds
References
The text was updated successfully, but these errors were encountered: