Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bup-server: revert to non-midx indexes when suggesting a pack.
Currently midx files can't tell you *which* index contains a particular hash, just that *one* of them does. So bup-server was barfing when it expected MultiPackIndex.exists() to return a pack name, and was getting a .midx file instead. We could have loosened the assertion and allowed the server to suggest a .midx file... but those can be huge, and it defeats the purpose of only suggesting the minimal set of packs so that lightweight clients aren't overwhelmed.
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters