Commit 251cd33
committed
fix: bound claimSlots loop + remove stale JSDoc
claimSlots() had an unbounded for-loop that could hang if
activeFragmentSlots grew large with stuck slots. Added maxSlot
upper bound (activeSlots + needed) — guaranteed to find enough
gaps within that range.
Removed stale JSDoc on buildPartitionCatalog() that described
evictDatasetCache() instead (copy-paste leftover).1 parent 2d78aca commit 251cd33
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | 458 | | |
460 | 459 | | |
461 | 460 | | |
| |||
1755 | 1754 | | |
1756 | 1755 | | |
1757 | 1756 | | |
1758 | | - | |
1759 | | - | |
| 1757 | + | |
| 1758 | + | |
1760 | 1759 | | |
1761 | 1760 | | |
1762 | 1761 | | |
| |||
0 commit comments