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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to