Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release] snapshots: fix filesByRange (#9472) (#9488) #9493

Closed
wants to merge 1 commit into from

Commits on Feb 22, 2024

  1. snapshots: fix filesByRange (#9472) (#9488)

    The method was iterating over snapshots.segments.Min().segments, but
    passing the index to view.Segments().
    
    This might lead to a crash, because those 2 collections are different,
    and the indexes might not match.
    
    view.Segments() only contains the snapshot files that are fully
    downloaded and indexed.
    
    The code is changed to only use the view files (as it was before).
    battlmonstr authored and yperbasis committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    f576d37 View commit details
    Browse the repository at this point in the history