-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66486/
-----------------------------------------------------------
Review request for hive, Deepak Jaiswal and Gopal V.
Bugs: HIVE-19127
https://issues.apache.org/jira/browse/HIVE-19127
Repository: hive-git
Description
-------
- 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
Diffs
-----
ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java
ac5ae573d6
Diff: https://reviews.apache.org/r/66486/diff/1/
Testing
-------
Thanks,
Jason Dere