You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "poorbarcode (via GitHub)" <gi...@apache.org> on 2024/05/15 15:29:17 UTC
[PR] [fix] [broker] fix chaotic TXN info after replication [pulsar]
poorbarcode opened a new pull request, #22719:
URL: https://github.com/apache/pulsar/pull/22719
### Motivation
**Background**
- TXN ID is unique on a cluster.
- The messages committed will be copied to the remote cluster.
- The TXN marker and the messages aborted will not be replicated to the remote cluster.
**Issue**
- Enable Geo-Replication: `c1 -> c2`
- Generate transaction on `c1`, the TXN ID is `1:1` and commit it.
- Generate transaction on `c2`, the TXN ID is `1:1`, do not commit/abort.
- The messages with `TXN ID 1` on the cluster `c1` will be replicated to `c2`.
- Then there are two messages with the same `TXN ID 1` on the cluster `c2`, but the TXN is not the same one.
### Modifications
Remove TXN ID when replicating messages.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
### Matching PR in forked repository
PR in forked repository: x
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix] [broker] fix chaotic TXN info after replication [pulsar]
Posted by "poorbarcode (via GitHub)" <gi...@apache.org>.
poorbarcode closed pull request #22719: [fix] [broker] fix chaotic TXN info after replication
URL: https://github.com/apache/pulsar/pull/22719
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org