mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-30 01:46:54 +00:00
When searching for the next least merge range we need to sweep all the stored items because they're interleaved with respect to key sorting because we've clobbered the zone. To search all of them we need to start from 0, not from the caller's start key after setting the zone. If the caller happens to provide a start key with a small zone but large other fields (totl keys with sufficiently large identifiers) we can miss ranges. Signed-off-by: Zach Brown <zab@zabbo.net>