-
Notifications
You must be signed in to change notification settings - Fork 15.2k
KAFKA-19648; Cluster metadata bootstrapping with kraft checkpoint #20707
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
Merged
Merged
Changes from 90 commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
a9c79a3
redo implementation to use RecordsSnapshotWriter
mannoopj 2a6f663
NIT fix spacing
mannoopj 752a79e
NIT remove unused import
mannoopj 026da2b
NIT remove extra line
mannoopj 7e303b9
add bootstrap records in formatter
mannoopj 584fe3d
revert RaftClientTestContext
mannoopj 9852262
wip changes
mannoopj 9cb5318
wip remove system.out
mannoopj ff3c050
wip remove more system.out
mannoopj f5763d0
remove system out in quorum controller
mannoopj f3a3e41
change check for emptyLog
mannoopj 0ab8e02
remove prints
mannoopj 1f76fa9
remove default
mannoopj 4de55ce
remove bootstrapRecordsAppended
mannoopj 56435b3
dont format checkpoint for broker only, split bootstrapDirectory read
mannoopj 29affeb
WIP, stop MetadataLoader reading 000.checkpoint
mannoopj 533033b
remove null check for bootstrapMetadata
mannoopj f35e992
stop replaying metadata records
mannoopj 1c4528e
address comments
mannoopj 625acfb
handleLoadSnapshot changes
mannoopj cb2ad18
import fixes
mannoopj 3c809c1
temp build changes
mannoopj 1908b2c
BootstrapDirectoryTest fix
mannoopj 7226af0
more tests fixes
mannoopj 029aa6b
Revert "BootstrapDirectoryTest fix"
mannoopj 6dbef44
BootstrapDirectoryTest fix
mannoopj cc3f0b4
nit: fix indentation
mannoopj 7ad1342
ReconfigurableQuorumIntegrationTest fix
mannoopj 135c126
StorageToolTest fix
mannoopj 383045a
fix KafkaClusterTestKit
mannoopj b474770
remove writeBootstrapSnapshot var in StorageTool
mannoopj 721fb5c
remove test specific fixes
mannoopj cb4803d
removed unused import
mannoopj 6a46cf7
testStartupWithNonDefaultKControllerDynamicConfiguration fix
mannoopj adb1548
add WARN message
mannoopj a839631
add FileNotFoundException
mannoopj 96bc7f3
add checkpoint file exist checks
mannoopj 4823d30
remove assertCheckpointExists
mannoopj 082d469
move up copier.setWriteErrorHandler
mannoopj dae3bd9
move testNonDefaultKControllerDynamicConfiguration to DynamicBrokerRe…
mannoopj 8ebfdaf
remove additionalBootstrapRecords
mannoopj 5ba0c9b
convert BootstrapDirectory to interface
mannoopj a7450e0
fix testFormatterFailsOnUnwritableDirectory
mannoopj dcd1b0b
move up readFromBinaryFile
mannoopj 67ad6c4
remove writeBinaryFile
mannoopj 0a78d0d
revert gradle changes
mannoopj de4da73
revert build.gradle
mannoopj eb4ba90
more build.gradle reverts
mannoopj 1d1e7ba
more build.gradle fixes
mannoopj dc27d7c
import-control.xml reverts
mannoopj 8469809
KafkaStreamsTelemetryIntegrationTest reverts
mannoopj 2e0c8f0
KafkaStreamsTelemetryIntegrationTest more reverts
mannoopj a182b12
fix spacing
mannoopj 0da0919
FormatterTest fixes
mannoopj fd3adf6
move TestBootstrapDirectory
mannoopj 3d589e6
remove extra line
mannoopj 56dae1b
remove SuppressWarnings for testReadFromEmptyConfiguration
mannoopj b3feaa6
move BootstrapDirectory filenames
mannoopj 03eafae
nit BootstrapDirectory fixes
mannoopj 7e8d2e6
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
mannoopj 7a9404f
fix incorrect merge
mannoopj 9f82078
remove generic exceptions
mannoopj ff60272
change BootstrapMetadata readFromBinaryFile to static
mannoopj e05dcf2
make BootstrapMetadata readFromConfiguration() private
mannoopj f0cbc8b
add documentation for BootstrapDirectory constructors
mannoopj 031c0fc
add IllegalStateException
mannoopj f0b35af
print the entire path for FormatterException
mannoopj 56422a5
add isCommittedSnapshot property to snapshot reader
mannoopj 3614162
stop leaking implementation details to controller
mannoopj 5698e93
volatile BootstrapMetadata
mannoopj d4e3b84
more exception handling
mannoopj 9380605
move readFromBinaryFile to BootstrapFileUtils
mannoopj 0e3c626
move everything back into BootstrapDirectory
mannoopj df3108b
add handleLoadBootstrap
mannoopj f9ad128
add documentation QuorumController:bootstrapMetadata being marked as …
mannoopj 76146ad
parametrized file name
mannoopj 2ad3c53
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
mannoopj 473ac38
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
mannoopj da05d3f
remove NonDefaultKControllerDynamicConfiguration tests
mannoopj 7d078b8
fix imports
mannoopj b27e7fc
remove isCommittedSnapshot
mannoopj b82a873
git add BootstrapTestUtils.java
mannoopj 711a347
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
mannoopj 02c9b79
delete core/src/test/scala/integration/kafka/server/KRaftClusterTest.…
mannoopj de8bb36
remove redudnant code
mannoopj da46fb7
FormatterTest fixes
mannoopj 4993aaa
handleLoadBootstrap implementation for QuorumController
mannoopj a7edcd0
revert empty line deletion
mannoopj 6601e69
cleanup fixes
mannoopj 3b4aeb6
fix testStartupWithNonDefaultKControllerDynamicConfiguration
mannoopj 7896f12
more clean up fixes
mannoopj 207ca7c
add reads from zero checkpoint in fromDirectory
mannoopj 9ee9f3d
bootstrapMetadata and bootstrapMetadataTest fixes
mannoopj 9b668cb
BootstrapMetadata fixes
mannoopj 645a08a
synchronized, IllegalStateException, and nit checkstyle fixes
mannoopj 8d44f43
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
mannoopj 3a57241
Move BootstrapTestUtils to testFixtures for cross-module visibility
mannoopj 4c7d5f6
add back BootstrapTestUtils.java
mannoopj ce5faf6
Merge remote-tracking branch 'upstream/trunk' into kip-1170-format
jsancio b83d676
rework testKRaftUpdateAt3_3_IV3
mannoopj f8df406
Merge remote-tracking branch 'origin/kip-1170-format' into kip-1170-f…
mannoopj d1a8ea7
add disabledFeatures for intergration tests
mannoopj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 0 additions & 117 deletions
117
metadata/src/main/java/org/apache/kafka/metadata/bootstrap/BootstrapDirectory.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.