nodece commented on code in PR #24794:
URL: https://github.com/apache/pulsar/pull/24794#discussion_r2384442721
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java:
##########
@@ -1206,6 +1206,13 @@ public LookupService getLookup() {
}
public void reloadLookUp() throws PulsarClientException {
+ if (lookup != null) {
Review Comment:
@lhotari The `lookup` variable is not declared as `volatile`, which may lead
to a visibility issue.
--
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]