Thomas Tauber-Marshall has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16926
Change subject: IMPALA-10424: Fix race on not_admitted_reason in AdmissionController ...................................................................... IMPALA-10424: Fix race on not_admitted_reason in AdmissionController QueueNode::not_admitted_reason can be accessed concurrently by the coordinator thread that calls SubmitForAdmission and the admission control dequeue loop thread. This patch fixes this by ensuring that not_admitted_reason is only accessed if 'admission_ctrl_lock_' is held. Change-Id: Iacb3f37d8e1797c2b1d7bc32ba6368419e9ae444 --- M be/src/scheduling/admission-controller.cc 1 file changed, 5 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/16926/1 -- To view, visit http://gerrit.cloudera.org:8080/16926 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iacb3f37d8e1797c2b1d7bc32ba6368419e9ae444 Gerrit-Change-Number: 16926 Gerrit-PatchSet: 1 Gerrit-Owner: Thomas Tauber-Marshall <[email protected]>
