Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][broker] Fix updatePartitionedTopic when replication at ns level and topic policy is set #22971

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Jun 24, 2024

Fixes #22967

Motivation

There's a bug in updatePartitionedTopic when replication is defined at namespace level and there's a topic policy available for the topic that is updated. This seems to be a gap in #22769.

Modifications

  • add a failing test case
  • fix the bug

Documentation

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

@lhotari lhotari force-pushed the lh-fix-updatePartitionedTopic-when-replication-at-ns-level-and-topic-policy-is-set branch from 4b2feeb to e744566 Compare June 24, 2024 20:37
@lhotari lhotari merged commit 1c44fbb into apache:master Jun 25, 2024
49 of 51 checks passed
@iosdev747
Copy link
Contributor

Thanks @lhotari for taking this up. Can this be cherry-picked in branch 3.0?

lhotari added a commit that referenced this pull request Jun 25, 2024
… and topic policy is set (#22971)

(cherry picked from commit 1c44fbb)
@lhotari
Copy link
Member Author

lhotari commented Jun 25, 2024

Thanks @lhotari for taking this up. Can this be cherry-picked in branch 3.0?

@iosdev747 Yes, this PR has been cherry-picked to branch-3.0.

lhotari added a commit that referenced this pull request Jun 25, 2024
… and topic policy is set (#22971)

(cherry picked from commit 1c44fbb)
lhotari added a commit that referenced this pull request Jun 25, 2024
… and topic policy is set (#22971)

(cherry picked from commit 1c44fbb)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 1, 2024
… and topic policy is set (apache#22971)

(cherry picked from commit 1c44fbb)
(cherry picked from commit d93e896)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 1, 2024
… and topic policy is set (apache#22971)

(cherry picked from commit 1c44fbb)
(cherry picked from commit d93e896)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Update partitions call is failing when topic level replication is disabled
4 participants