Skip to content

Commit

Permalink
fix(datastore): keep retrying to write WAL even if terminated (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchuan committed Aug 29, 2022
1 parent 035b88d commit 40dde51
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ private void writeToObjectStore(boolean clearOutput) {
Retry.of("put", RetryConfig.custom()
.maxAttempts(10000)
.intervalFunction(IntervalFunction.ofExponentialRandomBackoff(100, 2.0, 0.5, 10000))
.retryOnException(e -> !terminated)
.build()),
() -> this.objectStore.put(this.logFilePrefix + this.logFileIndex,
this.compressedBuffer.slice(0, compressedBufferSize)))
Expand Down

0 comments on commit 40dde51

Please sign in to comment.