hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Groschupf ...@101tec.com>
Subject HRegionServer ReentrantReadWriteLock lock
Date Fri, 07 Mar 2008 07:41:20 GMT
just another newbie question:
in HRegionServer is a ReentrantReadWriteLock (line 120)
So far I can see it is only used in context of dealing with  
onlineRegions. Even the external usage (CompactSpiltThread) does  
onlineRegions operations.
So I wonder what kind of advantage provides this lock to synchronize  
against onlineRegions?
I guess I missing something - but what?
Thanks for any clarification.

View raw message