Commit 8d1ec0a
committed
Reject a sweep threshold outside the slot-table capacity
An override above SHARED_REGION_MAX_PROCESS_NUM would keep the sweep from
ever running, so a table full of dead slots would reach the capacity check
and exit -- the case this branch set out to make recoverable. Zero would
sweep on every join and bring back the cost this branch removes. Catch both
at compile time, since the override only exists for the regression test.
Signed-off-by: keshav9926 <kkakani160@gmail.com>1 parent ae98819 commit 8d1ec0a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments