belugabehr commented on a change in pull request #2312:
URL: https://github.com/apache/hive/pull/2312#discussion_r639711031
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java
##########
@@ -260,6 +252,7 @@ private CacheEntryStatus setStatus(CacheEntryStatus
newStatus) {
synchronized (this) {
CacheEntryStatus oldStatus = status;
status = newStatus;
+ this.notifyAll();
return oldStatus;
Review comment:
Notify waiting threads when the status changes. This is the correct way
to do this instead of putting `notifyAll` in a bunch of different places.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]