Skip to content

Commit

Permalink
fix: correctly set the disk space flag
Browse files Browse the repository at this point in the history
Boolean flag was set wrongly to false when disk space was actually available.

(cherry picked from commit bf58abc)
  • Loading branch information
ChrisKujawa authored and github-actions[bot] committed Jul 3, 2023
1 parent 08d8133 commit 27fcbef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public void onDiskSpaceAvailable() {
actor.call(
() -> {
context.setDiskSpaceAvailable(true);
zeebePartitionHealth.setDiskSpaceAvailable(false);
zeebePartitionHealth.setDiskSpaceAvailable(true);
if (context.getStreamProcessor() != null && context.shouldProcess()) {
LOG.info("Disk space usage is below threshold. Resuming stream processor.");
context.getStreamProcessor().resumeProcessing();
Expand Down

0 comments on commit 27fcbef

Please sign in to comment.