Tim Armstrong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11270 )

Change subject: IMPALA-7422: Fix a race in QueryState::StartFInstances()
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/11270/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11270/1//COMMIT_MSG@14
PS1, Line 14: cnanot
nit: type


http://gerrit.cloudera.org:8080/#/c/11270/1/be/src/runtime/query-state.cc
File be/src/runtime/query-state.cc:

http://gerrit.cloudera.org:8080/#/c/11270/1/be/src/runtime/query-state.cc@403
PS1, Line 403:     // Update fragment_map_. Has to happen before the thread is 
spawned below or
Isn't a race still possible between this thread modifying the map in a 
subsequent iteration of the loop and threads for other fragments accessing the 
map? Since the map isn't threadsafe.



--
To view, visit http://gerrit.cloudera.org:8080/11270
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I35f2a5b0ea5143703850ffc229cec0e4294e6a3e
Gerrit-Change-Number: 11270
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Ho <k...@cloudera.com>
Gerrit-Reviewer: Dan Hecht <dhe...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Comment-Date: Mon, 20 Aug 2018 19:26:18 +0000
Gerrit-HasComments: Yes

Reply via email to