Skip to content

[improve][broker] Make some methods of ClusterBase pure async. - #15527

Merged
codelipenghui merged 12 commits into
apache:masterfrom
mattisonchao:pip_149_6
May 20, 2022
Merged

[improve][broker] Make some methods of ClusterBase pure async.#15527
codelipenghui merged 12 commits into
apache:masterfrom
mattisonchao:pip_149_6

Conversation

@mattisonchao

Copy link
Copy Markdown
Member

Motivation

See PIP #14365 and change tracker #15043.

Modifications

  • Make ClusterBase getBrokerWithNamespaceIsolationPolicy / setNamespaceIsolationPolicy to pure async.

Verifying this change

  • Make sure that the change passes the CI checks.

AdminTest#clusters already cover this change.

Documentation

  • no-need-doc
    (Please explain why)

@mattisonchao
mattisonchao marked this pull request as draft May 10, 2022 11:37
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label May 10, 2022
Comment thread pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/ClustersBase.java Outdated
@mattisonchao
mattisonchao marked this pull request as ready for review May 15, 2022 23:18
Comment thread pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/ClustersBase.java Outdated
Comment thread pulsar-common/src/main/java/org/apache/pulsar/common/util/FutureUtil.java Outdated
@Technoboy- Technoboy- added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/admin labels May 19, 2022
@Technoboy- Technoboy- added this to the 2.11.0 milestone May 19, 2022
@codelipenghui
codelipenghui merged commit a985936 into apache:master May 20, 2022
BewareMyPower added a commit to BewareMyPower/pulsar that referenced this pull request Apr 6, 2024
…me config

### Motivation

apache#8976 introduced an
`enableNamespaceIsolationUpdateOnTime` config, which is useless after
apache#15527. This config actually does
not make sense because it should always be true, while it's false by
default just to keep the meaningless compatibility.

### Motivation

Deprecate this config and strength the
`brokerNamespaceIsolationPoliciesUpdateOnTime` test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/admin doc-not-needed Your PR changes do not impact docs type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants