Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s3stream/wal): fail all IO operations once the WAL is failed #1841

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

Chillax-0v0
Copy link
Contributor

The same as #1840

* refactor: remove `WALChannel#writeAndFlush`

Signed-off-by: Ning Yu <[email protected]>

* refactor: introduce `WALChannel#retry`

Signed-off-by: Ning Yu <[email protected]>

* refactor: introduce `AbstractWALChannel`

Signed-off-by: Ning Yu <[email protected]>

* fix(s3stream/wal): fail all IO operations once the WAL is failed

Signed-off-by: Ning Yu <[email protected]>

* refactor: check failed before each IO operation

Signed-off-by: Ning Yu <[email protected]>

---------

Signed-off-by: Ning Yu <[email protected]>
@Chillax-0v0 Chillax-0v0 added bug Something isn't working wal s3stream labels Aug 17, 2024
@Chillax-0v0 Chillax-0v0 self-assigned this Aug 17, 2024
@superhx superhx merged commit 34ba11e into 1.2 Aug 18, 2024
6 checks passed
@superhx superhx deleted the cp-1840 branch August 18, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working s3stream wal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants