Skip to content

KAFKA-2605: Replace 'catch: Throwable' clauses with 'NonFatal'#531

Closed
jinxing64 wants to merge 1 commit intoapache:0.8.2from
jinxing64:0.8.2
Closed

KAFKA-2605: Replace 'catch: Throwable' clauses with 'NonFatal'#531
jinxing64 wants to merge 1 commit intoapache:0.8.2from
jinxing64:0.8.2

Conversation

@jinxing64
Copy link
Copy Markdown

'catch: Throwable' will catch VirtualMachineError, ThreadDeath, InterruptedException, LinkageError, ControlThrowable, NotImplementedError; we don't want to catch those kind of error

@jinxing64 jinxing64 closed this Nov 15, 2015
gwenshap referenced this pull request in confluentinc/kafka Jul 21, 2019
…re (#531)

We wish to return a yellow build on a test failure, but wish to fail the
build completely when the gradle executors do not finish cleanly. This
change will achieve that.
(cherry picked from commit 334acf48d40e6a3c627cb71990fa91e1616e4921)

-- This also changes max number of forks to 4, to improve build stability
gwenshap referenced this pull request in confluentinc/kafka Jul 21, 2019
…re (#531)

We wish to return a yellow build on a test failure, but wish to fail the
build completely when the gradle executors do not finish cleanly. This
change will achieve that.
(cherry picked from commit 334acf48d40e6a3c627cb71990fa91e1616e4921)
gwenshap referenced this pull request in confluentinc/kafka Jul 21, 2019
…re (#531) (#215)

We wish to return a yellow build on a test failure, but wish to fail the
build completely when the gradle executors do not finish cleanly. This
change will achieve that.
(cherry picked from commit 334acf48d40e6a3c627cb71990fa91e1616e4921)

-- This also changes max number of forks to 4, to improve build stability
AnatolyPopov pushed a commit to aiven/kafka that referenced this pull request Mar 24, 2026
* feat(inkless): implement InitDisklessLog Controller API

Persist disklessStartOffset and producer states into KRaft metadata.
Only the leader is allowed to call InitDisklessLog.
New fields are also persisted in the KRaft snapshots through
PartitionRegistration.
To avoid conflicts with upstream changes to the metadata records,
new metadata fields are written directly in the unknown tagged fields
of PartitionRecord and PartitionChangeRecord.

(cherry picked from commit 00701557d1790b8ab74d17eb2ae95d7928f72b77)

# Conflicts:
#	metadata/src/main/java/org/apache/kafka/metadata/PartitionRegistration.java
AnatolyPopov pushed a commit to aiven/kafka that referenced this pull request Mar 24, 2026
* feat(inkless): implement InitDisklessLog Controller API

Persist disklessStartOffset and producer states into KRaft metadata.
Only the leader is allowed to call InitDisklessLog.
New fields are also persisted in the KRaft snapshots through
PartitionRegistration.
To avoid conflicts with upstream changes to the metadata records,
new metadata fields are written directly in the unknown tagged fields
of PartitionRecord and PartitionChangeRecord.
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.

1 participant