Skip to content
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
Demogorgon314:transaction/Implement_ProducerStateManager_recovery
Jul 3, 2023
Merged

[transaction] Implement producer state manager recovery#1923
BewareMyPower merged 32 commits intostreamnative:masterfrom
Demogorgon314:transaction/Implement_ProducerStateManager_recovery

Conversation

@Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Jun 26, 2023

Motivation

Cherry-pick s4k transaction producer state manager snapshot recovery feature.

Modifications

  • Support producer state manager recovery

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)

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #1923 (46013b1) into master (f3b95a2) will decrease coverage by 0.70%.
The diff coverage is 3.64%.

Impacted file tree graph

@@             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              
Impacted Files Coverage Δ
...streamnative/pulsar/handlers/kop/DelayedFetch.java 0.00% <0.00%> (ø)
...tive/pulsar/handlers/kop/KafkaProtocolHandler.java 0.00% <0.00%> (ø)
...ative/pulsar/handlers/kop/KafkaRequestHandler.java 1.07% <0.00%> (-0.01%) ⬇️
...pulsar/handlers/kop/KafkaTopicConsumerManager.java 0.00% <0.00%> (ø)
...e/pulsar/handlers/kop/KafkaTopicLookupService.java 2.00% <0.00%> (ø)
...ndlers/kop/coordinator/group/GroupCoordinator.java 0.00% <0.00%> (ø)
...rs/kop/coordinator/transaction/PendingRequest.java 0.00% <0.00%> (ø)
...kop/coordinator/transaction/TransactionConfig.java 0.00% <0.00%> (ø)
...oordinator/transaction/TransactionCoordinator.java 0.00% <0.00%> (ø)
...r/transaction/TransactionMarkerChannelHandler.java 0.00% <0.00%> (ø)
... and 20 more

gaoran10
gaoran10 previously approved these changes Jun 28, 2023
Enrico Olivelli and others added 22 commits June 28, 2023 20:18
This fixes both completed transactions written to
the transaction log and transaction recovery.
@Demogorgon314 Demogorgon314 force-pushed the transaction/Implement_ProducerStateManager_recovery branch from 2674bcb to 940e90d Compare June 28, 2023 12:18
@Demogorgon314 Demogorgon314 marked this pull request as ready for review June 28, 2023 12:20
@BewareMyPower BewareMyPower merged commit fcf5234 into streamnative:master 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)
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
@BewareMyPower
Copy link
Collaborator

Use a separated PR (#1965) to cherry-pick it so I removed the release/2.11 label

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.
BewareMyPower added a commit that referenced this pull request Oct 31, 2023
### Motivation

#1923 removes the completion for
the produce purgatory in #1749.

### Modification

Added back the logic to check and complete the produce purgatory.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants