Commit c4dfd8b
committed
docs(webapp): correct TRIGGER_MOLLIFIER_DRAINER_ENABLED comment
The old comment claimed multiple drainer replicas would "race for the
same buffer entries." That's wrong — `popAndMarkDraining` is an atomic
ZPOPMIN + status flip in a single Lua call, so only one replica can win
any given entry. Multi-replica drainers are correct, just inefficient
(polling load and per-process concurrency multiply by N). Rewrite the
comment to give the real reasons a deployment might split the drainer
onto a dedicated worker. No behaviour change.1 parent 345926f commit c4dfd8b
1 file changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1068 | 1071 | | |
1069 | 1072 | | |
1070 | 1073 | | |
| |||
0 commit comments