Hi all, I'm developing some new features based on HBase-1.2.9 and found  a
weird thing that, in class HMaster some properties are volatile, while
others are not volatile and I haven't found any  synchronization for them.
As far as I know, volatile is use to to guarantee visibility among multiple
threads. There is no doubt HMaster is accessed by many threads. So, why
there are only a small part of variables are volatile?

Reply via email to