Hello Tidy Bot, Alexey Serbin, Yingchun Lai, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18674
to look at the new patch set (#42).
Change subject: [threadpool] Fix scheduler thread a coredump bug
......................................................................
[threadpool] Fix scheduler thread a coredump bug
Scheduler thread will schedule some tasks.
If a SchedulerTask's theadpool token is shutdown,
Scheduling the task would coredump.
The patch check the token whether is nullptr,
and check the Submit(...) whether is shutdowning.
And add an unit test.
Change-Id: Ie5bc5511a745f3dc12dfe1a6a1813ece41ccc2a8
---
M src/kudu/util/threadpool-test.cc
M src/kudu/util/threadpool.cc
M src/kudu/util/threadpool.h
3 files changed, 84 insertions(+), 19 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/74/18674/42
--
To view, visit http://gerrit.cloudera.org:8080/18674
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie5bc5511a745f3dc12dfe1a6a1813ece41ccc2a8
Gerrit-Change-Number: 18674
Gerrit-PatchSet: 42
Gerrit-Owner: Yuqi Du <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Yuqi Du <[email protected]>