[ https://issues.apache.org/jira/browse/HIVE-18661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720920#comment-16720920 ]
Daniel Dai commented on HIVE-18661: ----------------------------------- Discussed with Mahesh, the commitTransaction is actually metastore db transaction. So after every ddl, there's a commitTransaction. So this should be fine. +1. > CachedStore: Use metastore notification log events to update cache > ------------------------------------------------------------------ > > Key: HIVE-18661 > URL: https://issues.apache.org/jira/browse/HIVE-18661 > Project: Hive > Issue Type: Sub-task > Components: Metastore > Reporter: Vaibhav Gumashta > Assignee: mahesh kumar behera > Priority: Major > Labels: pull-request-available > Attachments: HIVE-18661.02.patch, HIVE-18661.03.patch, > HIVE-18661.04.patch, HIVE-18661.05.patch, HIVE-18661.06.patch, > HIVE-18661.07.patch, HIVE-18661.08.patch > > > Currently, a background thread updates the entire cache which is pretty > inefficient. We capture the updates to metadata in NOTIFICATION_LOG table > which is getting used in the Replication work. We should have the background > thread apply these notifications to incrementally update the cache. -- This message was sent by Atlassian JIRA (v7.6.3#76005)