Commit f9a89f0
fix: apply restrictions to pending_query in _populate_distributed
Fixes #1413 — populate() with reserve_jobs=True was ignoring
restrictions passed by the caller. _populate_distributed() refreshed
the job queue with the correct restrictions but then fetched all
pending keys without filtering them. The fix intersects the pending
query with _jobs_to_do(restrictions), matching the behaviour of
_populate_direct().
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 34acbbe commit f9a89f0
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| |||
0 commit comments