Skip to content

Commit cdd1651

Browse files
hannes-ucscachave11-ucsc
authored andcommitted
Fix: Excessive bundle partitioning in AnVIL (#7528)
1 parent f07f203 commit cdd1651

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/azul/indexer/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,17 @@ def canning_qualifier(cls) -> str:
580580
class BundlePartition(UUIDPartition):
581581
"""
582582
A binary partitioning of the UUIDs of outer entities in a bundle.
583+
584+
>>> BundlePartition.root
585+
BundlePartition(prefix_length=0, prefix=0, group=4)
583586
"""
584587

588+
#: We use the fifth group because the first group may not produce a random
589+
#: distribution of the entities in some types of bundles. For example, all
590+
#: entity UUIDs in an AnVIL replica bundle share a specifc batch prefix.
591+
#:
592+
group: int = 4
593+
585594
#: 512 caused timeouts writing contributions, even in the retry Lambda
586595
#:
587596
max_partition_size: ClassVar[int] = 256

0 commit comments

Comments
 (0)