Jason Dere created HIVE-19127: --------------------------------- Summary: Concurrency fixes in QueryResultsCache Key: HIVE-19127 URL: https://issues.apache.org/jira/browse/HIVE-19127 Project: Hive Issue Type: Sub-task Reporter: Jason Dere Assignee: Jason Dere
A few fixes around concurrent access in the results cache - Take a lock on the cache entry when in the process of setting the cache entry from PENDING state to VALID state, so that other threads cannot invalidate the entry - The write lock on the cache was not being taken when removing an entry from the cache. - synchronize access when iterating through the lru keyset -- This message was sent by Atlassian JIRA (v7.6.3#76005)