Skip to content

OAK-12229 Rethrow IOException in JournalReader#computeNext#2921

Open
jelmini wants to merge 1 commit into
apache:trunkfrom
jelmini:cje/OAK-12229
Open

OAK-12229 Rethrow IOException in JournalReader#computeNext#2921
jelmini wants to merge 1 commit into
apache:trunkfrom
jelmini:cje/OAK-12229

Conversation

@jelmini
Copy link
Copy Markdown
Contributor

@jelmini jelmini commented May 27, 2026

Rethrow IOException in JournalReader#computeNext instead of silently swallowing it.

Currently, an IOException while reading the journal is swallowed and is
interpreted as no/empty journal, which can lead to data loss. This
behavior was contradicted by JournalReader#computeNext own Javadoc.

Currently, an IOException while reading the journal is swallowed and is
interpreted as no/empty journal, which can lead to data loss. This
behavior was contradicted by JournalReader#computeNext own Javadoc.
Copy link
Copy Markdown
Member

@thomasmueller thomasmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a feature toggle (possibly combined with a system property)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants