You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2019/07/21 17:55:00 UTC

[jira] [Created] (HIVE-22014) Tear down locks in CachedStore

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)