Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.5.0
-
6.5.0-4777
-
Untriaged
-
Centos 64-bit
-
Yes
-
KV Sprint 2019-12
Description
Summary
cbepctl stop hangs waiting for confirmation from KV-Engine that the Flusher has been stopped, if there are no mutations occurring on the primary shard (shard 0). Note the Flusher has been stopped, the command-line tool just cannot detect this.
Steps to Reproduce
- Run epctl against a cluster with the flusher running (e.g. a freshly stated node), and with no mutations in flight:
$ /opt/couchbase/bin/cbepctl 10.112.190.101:11210 -u cbadminbucket -p password -b default stop
- Observe that the command doesn't return.
Expected Results
The command should return, confirming persistence has been stopped:
$ /opt/couchbase/bin/cbepctl 10.112.190.101:11210 -u cbadminbucket -p password -b default stop
|
Persistence stopped
|
$
|
Actual Results
The command hangs. Ctrl-C'ing and retrying gives an error (EINVAL) as the flusher actually /has/ already been stopped.
Attachments
Issue Links
For Gerrit Dashboard: MB-36904 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
117878,6 | MB-36904: Remove Flusher::State::Pausing | mad-hatter | kv_engine | Status: MERGED | +2 | +1 |
117968,2 | MB-36904: Commenting stop_persistence cases from steady_state_tests | master | TAF | Status: MERGED | +2 | +1 |
118133,2 | MB-36904: Commenting stop_persistence cases from sub_doc and timeout tests | master | TAF | Status: MERGED | +2 | +1 |
119103,2 | CBQE-5213 comment out cbepctl test due to issue MB-36904 | master | testrunner | Status: MERGED | +2 | +1 |
119439,1 | Merge branch 'mad-hatter' | master | kv_engine | Status: MERGED | +2 | +1 |
125803,3 | Revert "MB-36904: Commenting stop_persistence cases from steady_state_tests" | master | TAF | Status: MERGED | +2 | +1 |
125804,3 | Revert "MB-36904: Commenting stop_persistence cases from sub_doc and timeout tests" | master | TAF | Status: MERGED | +2 | +1 |
156228,4 | Uncommenting stop_persistence testcases | mad-hatter | TAF | Status: MERGED | +2 | +1 |