Skip to content

[fix][broker] Fix replicator producer can not share with other exclusive producers#9

Open
oneby-wang wants to merge 4 commits intomasterfrom
replication_exclusive_producer_fix
Open

[fix][broker] Fix replicator producer can not share with other exclusive producers#9
oneby-wang wants to merge 4 commits intomasterfrom
replication_exclusive_producer_fix

Conversation

@oneby-wang
Copy link
Copy Markdown
Owner

@oneby-wang oneby-wang commented Oct 31, 2025

Fixes apache#24914

Motivation

Fix geo replication doesn't support exclusive access producers.

Modifications

Modify AbstractTopic#incrementTopicEpochIfNeeded() method to support normal exclusive producers can share with replicator producer.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as (please describe tests).

Old test cases are covered by ExclusiveProducerTest test class.

New test method is OneWayReplicatorTest#testReplicatorProducerWithExclusiveAccessMode().

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@oneby-wang oneby-wang changed the title [fix][broker] Fix replicator producer can not share with other exclus… [fix][broker] Fix replicator producer can not share with other exclusive producers Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Two-way geo replication doesn't support exclusive access producers

1 participant