[
https://issues.apache.org/jira/browse/IMPALA-7207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523827#comment-16523827
]
ASF subversion and git services commented on IMPALA-7207:
---------------------------------------------------------
Commit b9e19d093ce3339f0ce135de5aa36ae98747ea6c in impala's branch
refs/heads/master from [~dhecht]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=b9e19d0 ]
IMPALA-7207: make Coordinator::exec_state_ an atomic enum
That allows us to avoid taking the lock in cases where only
the exec_state_ field needs to be read (as opposed to needing
to read both exec_state_ and exec_status_). In particular,
it avoids the lock on the non-terminating paths, which is
the common case.
Change-Id: Ie6c5d5c6ccfdfd533cd0607aab6f554e664b90ac
Reviewed-on: http://gerrit.cloudera.org:8080/10811
Reviewed-by: Tim Armstrong <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Make Coordinator ExecState an atomic enum
> -----------------------------------------
>
> Key: IMPALA-7207
> URL: https://issues.apache.org/jira/browse/IMPALA-7207
> Project: IMPALA
> Issue Type: Sub-task
> Components: Backend
> Affects Versions: Impala 3.1.0
> Reporter: Dan Hecht
> Assignee: Dan Hecht
> Priority: Major
>
> Let's make exec_state_ an atomic so that we can read that field alone without
> holding the exec_state_lock_. That will be a precursor to both IMPALA-6788
> and IMPALA-7205.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]