mattisonchao commented on code in PR #16438:
URL: https://github.com/apache/pulsar/pull/16438#discussion_r916408591


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java:
##########
@@ -2045,20 +2045,20 @@ private void handlePoliciesUpdates(NamespaceName 
namespace) {
                         if (namespace.includes(TopicName.get(name))) {
                             // If the topic is already created, immediately 
apply the updated policies, otherwise
                             // once the topic is created it'll apply the 
policies update
-                            topicFuture.thenAccept(topic -> {
+                            topicFuture.thenAcceptAsync(topic -> {

Review Comment:
   The context thread is changed by line 2036, maybe we don't need to change it 
again.



-- 
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