Skip to content

Commit

Permalink
Fix no-op bug
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Dec 28, 2024
1 parent a4de218 commit 2e9a2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/worker/src/execution/orchestration/compact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ impl Handler<TaskResult<MaterializeLogsResult, MaterializeLogOperatorError>>
};

if materialized_result.is_empty() {
self.num_write_tasks -= 1;
self.num_write_tasks -= 3;

if self.num_write_tasks == 0 {
// There is nothing to flush, proceed to register
Expand Down

0 comments on commit 2e9a2e0

Please sign in to comment.