BewareMyPower commented on PR #20037: URL: https://github.com/apache/pulsar/pull/20037#issuecomment-1499894825
Before this patch:  After this patch:  Example logs of updating replication clusters: ``` 2023-04-07T10:11:27,615 - INFO - [pulsar-3575-5:BrokerService@2361] - [prop/ns-abc] updating with Policies(auth_policies=AuthPoliciesImpl(..., replication_clusters=[remote] 2023-04-07T10:11:27,619 - INFO - [pulsar-3575-4:BrokerService@2361] - [prop/ns-abc] updating with Policies(auth_policies=AuthPoliciesImpl(..., replication_clusters=[], ``` We can see the interval is only 4 milliseconds but they happened in different threads (`pulsar-3575-5` and `pulsar-3575-4`). Sometimes the 2nd update might happen first. -- 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]
