Daniel Dai created HIVE-22014:
---------------------------------

             Summary: Tear down locks in CachedStore
                 Key: HIVE-22014
                 URL: https://issues.apache.org/jira/browse/HIVE-22014
             Project: Hive
          Issue Type: Sub-task
            Reporter: Daniel Dai


There's a lot of locks in CachedStore. After HIVE-21637, only notification log 
puller thread will update the cache. And when it process event, the first thing 
is to mark the entry invalid. The only exception may be 
TableWrapperSizeUpdater, but we can also make it synchronous (maybe run it once 
after every iteration of notification log puller). There should be no 
synchronization issue and we can tear down existing locks to simplify the code.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to