Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22642


Change subject: [util] correct invariant in ThreadPoolToken::Transition()
......................................................................

[util] correct invariant in ThreadPoolToken::Transition()

This patch corrects the invariant check when transitioning from
State::IDLE to State::GRACEFUL_QUIESCING in ThreadPoolToken::Close().
Without this fix, a couple of test scenarios in threadpool-test
would fail with output like below:

  F20250319 10:15:25.060393 1859138 threadpool.cc:344] Check failed: 
active_threads_ > 0 (0 vs. 0)

This is a follow-up to 4e5cd00b62e6be94e410abf98dda6fb066c6e1bb.

Change-Id: I6cfcdff743ad0074446ab9664dda43e4a9cb23ea
---
M src/kudu/util/threadpool.cc
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/42/22642/1
--
To view, visit http://gerrit.cloudera.org:8080/22642
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cfcdff743ad0074446ab9664dda43e4a9cb23ea
Gerrit-Change-Number: 22642
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to