Commit a63cb6b
Carlos Pérez-Aradros Herce
* Fix memory leak in Filebeat pipeline acker (#12063)
* Fix memory leak in Filebeat pipeline acker
Before this change acker goroutine was kept forever as processed events
count was not correctly updated.
Filebeat sends an empty event to update file states, this event is not
published, but treated as dropped, without updating counters.
This change makes sures that `a.events` count gets updated for dropped
events also, so the acker gets closed after all ACKs happen.
(cherry picked from commit 9653105)
* Update CHANGELOG.next.asciidoc
1 parent 88a567c commit a63cb6b
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| |||
0 commit comments