You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org> on 2020/08/08 20:31:03 UTC
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16313
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
The root cause for crash is that QueryState::Cancel() was called
before thread unsafe function QueryState::Init() was completed.
This patch fixs the race condition between QueryState::Cancel()
and QueryState::Init().
Testing:
- The issue could be reproduced by running expr-test for 10-20
iterations. Verified the fixing by running expr-test over 1000
iterations without crash.
- Passed TestProcessFailures::test_kill_coordinator.
- Passed core tests.
Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
---
M be/src/runtime/query-state.cc
M be/src/runtime/query-state.h
2 files changed, 40 insertions(+), 6 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/16313/1
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2:
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/6266/
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 11 Aug 2020 16:12:35 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 3: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 14 Aug 2020 22:29:59 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 3:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/6294/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 14 Aug 2020 17:19:28 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/6258/
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 11 Aug 2020 01:51:17 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/6266/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 11 Aug 2020 15:58:30 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2:
Verified that the build failure was caused by irrelevant IMPALA-10070.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 11 Aug 2020 04:26:55 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org>.
Thomas Tauber-Marshall has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 1:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.h
File be/src/runtime/query-state.h:
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.h@112
PS1, Line 112: /// Thread-safe, unless noted otherwise.
Lets update this to be more informative, i.e. something like:
- Init() must be called first. After Init() returns successfully, all other public functions are thread-safe to call unless noted otherwise.
- Cancel() is safe to call at any time (before or during Init()).
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.cc
File be/src/runtime/query-state.cc:
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.cc@870
PS1, Line 870: if (instances_prepared_barrier_ == nullptr) return;
I think we can avoid this is we just only set 'is_initialized_' to true on successful initialization.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Comment-Date: Mon, 10 Aug 2020 18:40:38 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 1:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.h
File be/src/runtime/query-state.h:
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.h@112
PS1, Line 112: /// Thread-safe, unless noted otherwise.
> Lets update this to be more informative, i.e. something like:
Fixed as suggested.
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.cc
File be/src/runtime/query-state.cc:
http://gerrit.cloudera.org:8080/#/c/16313/1/be/src/runtime/query-state.cc@870
PS1, Line 870: if (instances_prepared_barrier_ == nullptr) return;
> I think we can avoid this is we just only set 'is_initialized_' to true on
Right, fixed it.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 10 Aug 2020 19:33:58 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org>.
Thomas Tauber-Marshall has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 14 Aug 2020 22:32:52 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org>.
Thomas Tauber-Marshall has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 10 Aug 2020 20:24:42 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/6859/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 10 Aug 2020 19:57:22 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 2:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/6258/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 10 Aug 2020 20:25:00 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
The root cause for crash is that QueryState::Cancel() was called
before thread unsafe function QueryState::Init() was completed.
This patch fixs the race condition between QueryState::Cancel()
and QueryState::Init(). QueryState::Init() is safe to be called
at any time.
Testing:
- The issue could be reproduced by running expr-test for 10-20
iterations. Verified the fixing by running expr-test over 1000
iterations without crash.
- Passed TestProcessFailures::test_kill_coordinator.
- Passed core tests.
Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
---
M be/src/runtime/query-state.cc
M be/src/runtime/query-state.h
2 files changed, 32 insertions(+), 7 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/16313/3
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
The root cause for crash is that QueryState::Cancel() was called
before thread unsafe function QueryState::Init() was completed.
This patch fixs the race condition between QueryState::Cancel()
and QueryState::Init(). QueryState::Init() is safe to be called
at any time.
Testing:
- The issue could be reproduced by running expr-test for 10-20
iterations. Verified the fixing by running expr-test over 1000
iterations without crash.
- Passed TestProcessFailures::test_kill_coordinator.
- Passed core tests.
Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
---
M be/src/runtime/query-state.cc
M be/src/runtime/query-state.h
2 files changed, 32 insertions(+), 7 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/16313/2
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org>.
Thomas Tauber-Marshall has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
The root cause for crash is that QueryState::Cancel() was called
before thread unsafe function QueryState::Init() was completed.
This patch fixs the race condition between QueryState::Cancel()
and QueryState::Init(). QueryState::Init() is safe to be called
at any time.
Testing:
- The issue could be reproduced by running expr-test for 10-20
iterations. Verified the fixing by running expr-test over 1000
iterations without crash.
- Passed TestProcessFailures::test_kill_coordinator.
- Passed core tests.
Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Reviewed-on: http://gerrit.cloudera.org:8080/16313
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Thomas Tauber-Marshall <tm...@cloudera.com>
---
M be/src/runtime/query-state.cc
M be/src/runtime/query-state.h
2 files changed, 32 insertions(+), 7 deletions(-)
Approvals:
Impala Public Jenkins: Verified
Thomas Tauber-Marshall: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 1:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/6844/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Comment-Date: Sat, 08 Aug 2020 20:59:36 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16313 )
Change subject: IMPALA-10039 (part 2): Fixed Expr-test crash due to race condition
......................................................................
Patch Set 3:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/6931/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/16313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0d3b9c59924a25b70fa20afeb6e8ca93016eca9
Gerrit-Change-Number: 16313
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 14 Aug 2020 17:17:31 +0000
Gerrit-HasComments: No