This repository was archived by the owner on Jan 24, 2024. It is now read-only.
[transaction] Implement producer state manager recovery#1923
Merged
BewareMyPower merged 32 commits intostreamnative:masterfrom Jul 3, 2023
Merged
Conversation
gaoran10
reviewed
Jun 27, 2023
kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/KafkaTopicManager.java
Show resolved
Hide resolved
kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/storage/PartitionLog.java
Outdated
Show resolved
Hide resolved
kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/storage/ProducerStateManager.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #1923 +/- ##
============================================
- Coverage 18.64% 17.94% -0.70%
- Complexity 743 745 +2
============================================
Files 186 194 +8
Lines 13377 13956 +579
Branches 1231 1288 +57
============================================
+ Hits 2494 2505 +11
- Misses 10702 11270 +568
Partials 181 181
|
gaoran10
previously approved these changes
Jun 28, 2023
This fixes both completed transactions written to the transaction log and transaction recovery.
…_LOAD_IN_PROGRESS
…CompletableFutures
…o prevent scary errors sent to the client
…valSeconds to 5 mnutes
[tests] Unflaky more transactions tests (streamnative#62)
… markers and de-flaky TransactionsTest (streamnative#60)
2674bcb to
940e90d
Compare
gaoran10
approved these changes
Jun 29, 2023
BewareMyPower
approved these changes
Jul 3, 2023
BewareMyPower
pushed a commit
that referenced
this pull request
Jul 3, 2023
### Motivation Cherry-pick s4k transaction producer state manager snapshot recovery feature. ### Modifications * Support producer state manager recovery Co-authored-by: Enrico Olivelli <enrico.olivelli@datastax.com> Co-authored-by: Michael Marshall <mmarshall@apache.org> (cherry picked from commit fcf5234)
4 tasks
BewareMyPower
pushed a commit
that referenced
this pull request
Jul 17, 2023
…1923) ### Motivation Cherry-pick s4k transaction producer state manager snapshot recovery feature. ### Modifications * Support producer state manager recovery Co-authored-by: Enrico Olivelli <enrico.olivelli@datastax.com> Co-authored-by: Michael Marshall <mmarshall@apache.org> (cherry picked from commit fcf5234) Fix conflicts caused by #1759
Collaborator
|
Use a separated PR (#1965) to cherry-pick it so I removed the |
Demogorgon314
added a commit
to Demogorgon314/kop
that referenced
this pull request
Aug 14, 2023
…#1923) ### Motivation Cherry-pick s4k transaction producer state manager snapshot recovery feature. ### Modifications * Support producer state manager recovery Co-authored-by: Enrico Olivelli <enrico.olivelli@datastax.com> Co-authored-by: Michael Marshall <mmarshall@apache.org> (cherry picked from commit fcf5234)
BewareMyPower
added a commit
to BewareMyPower/kop
that referenced
this pull request
Oct 31, 2023
### Motivation streamnative#1923 removes the completion for the produce purgatory in streamnative#1749. ### Modification Added back the logic to check and complete the produce purgatory.
3 tasks
BewareMyPower
added a commit
that referenced
this pull request
Oct 31, 2023
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Motivation
Cherry-pick s4k transaction producer state manager snapshot recovery feature.
Modifications
Documentation
Check the box below.
Need to update docs?
doc-required(If you need help on updating docs, create a doc issue)
no-need-doc(Please explain why)
doc(If this PR contains doc changes)