lucifer4j opened a new pull request, #11014:
URL: https://github.com/apache/pinot/pull/11014

   `bugfix` `pinot-client`
   
   The `_defaultTransport` in `ConnectionFactory` is created using 
double-checked locking.
   
   
https://github.com/apache/pinot/blob/03b9d4a708e6d09838e902857ebe1f255ced4ba1/pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/ConnectionFactory.java#L211-L222
   
   However, the current implementation is buggy as described in 
https://rules.sonarsource.com/java/RSPEC-2168/. To fix it, make the field 
`volatile`.
   


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to