fn partition_finalizable_shards(
collection_metadata: BTreeMap<GlobalId, ShardId>,
active_collection_ids: &BTreeSet<GlobalId>,
unfinalized_shards: BTreeSet<ShardId>,
) -> (BTreeSet<ShardId>, BTreeSet<ShardId>)Expand description
Partitions the finalization WAL by whether an active collection references each shard.