Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-52728: Tighten the StatsCommandContext state machine
1. If the stats handler returns EWB we should _ALWAYS_ stop the step() method and wait for a notification 2. We should not leave DoStats if we didn't create a task and the handler returns EWB 3. Jump back to DoStats if the stats task returned EWB (it was the underlying engine which notified the cookie to resume it) to call the stats function one more time. 4. We should _NEVER_ see EWB in command complete Change-Id: Ife8101d54a321009b60c6c1e1cba62534e207d3b Reviewed-on: https://review.couchbase.org/c/kv_engine/+/177372 Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com> Tested-by: Trond Norbye <trond.norbye@couchbase.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters