Skip to content

Commit

Permalink
fix: compaction worker drops final status updates (#3725)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolesnikovae authored Nov 28, 2024
1 parent 7861b51 commit a2ca38d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/experiment/compactor/compaction_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ func (w *Worker) running(ctx context.Context) error {
for {
select {
case <-stopPolling:
// Now that all the threads are done, we need to
// send the final status updates.
w.poll()
return

case <-ticker.C:
w.poll()
}
Expand Down

0 comments on commit a2ca38d

Please sign in to comment.