Mehant Baid created DRILL-1253:
----------------------------------
Summary: Inserting key into hash table and updating workspace
variable in aggregate container should be an atomic operation
Key: DRILL-1253
URL: https://issues.apache.org/jira/browse/DRILL-1253
Project: Apache Drill
Issue Type: Bug
Reporter: Mehant Baid
Assignee: Mehant Baid
Fix For: 0.5.0
Currently the logic in HashAggregate and HashTable assumes that if the
insertion of the key into the hash table is successful then updating the
workspace variables in the aggregate container will also be successful.
If the insertion of the key into the hash table fails we add a new batch in the
hash table and retry inserting the key. However we don't check for failures
while updating the workspace variables.
Problem arises when the insertion of the key into the hash table succeeds but
inserting the workspace variable fails.
--
This message was sent by Atlassian JIRA
(v6.2#6252)