You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/08/05 09:12:12 UTC

[jira] [Created] (DRILL-1253) Inserting key into hash table and updating workspace variable in aggregate container should be an atomic operation

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)