scylladb / scylla-jmx

Scylla JMX proxy
GNU Affero General Public License v3.0
29 stars 52 forks source link

Column family beans refresh is not syncronized #134

Closed elcallio closed 4 years ago

elcallio commented 4 years ago

Later JDKs/connections to mbean server can cause multiple threads to call the registration check code simultaneously. While this is not fatal at all, it will cause more object storms and occasionally higher object pressure than needed.

Should use a lightweight sync and try to avoid unnecessary repeated calls to the API server.