Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.6.2
-
7.6.2-3570
-
Untriaged
-
-
0
-
Yes
Description
Steps
1. create a cluster with 9 nodes
+----------------+---------+----------+
|
| Nodes | Zone | Services |
|
+----------------+---------+----------+
|
| 172.23.104.128 | Group 1 | kv |
|
| 172.23.104.202 | None | kv |
|
| 172.23.136.101 | None | kv |
|
| 172.23.136.102 | None | index |
|
| 172.23.136.103 | None | index |
|
| 172.23.136.104 | None | n1ql |
|
| 172.23.136.106 | None | n1ql |
|
| 172.23.136.109 | None | backup |
|
| 172.23.104.235 | None | backup |
|
+----------------+---------+----------+-
|
2. bucket-0 with 100,000 items
3. enable autofailover with timeout 30 sec and max-count of 4
4. stop couchbase for nodes .128 and .235
from.109
[user:info,2024-04-25T22:58:49.830-07:00,ns_1@172.23.136.109:<0.29547.4>:ns_orchestrator:handle_start_failover:1861]Starting failover of nodes ['ns_1@172.23.104.128','ns_1@172.23.104.235'] AllowUnsafe = false Operation Id = 462c08ba582480797306cfd40bb83c65
|
5. wait until failover is completes
[user:info,2024-04-25T22:58:50.410-07:00,ns_1@172.23.136.109:<0.8641.5>:failover:orchestrate:182]Failed over ['ns_1@172.23.104.128','ns_1@172.23.104.235']: ok
|
[ns_server:info,2024-04-25T22:58:50.410-07:00,ns_1@172.23.136.109:leader_quorum_nodes_manager<0.29502.4>:leader_quorum_nodes_manager:handle_set_quorum_nodes:121]Updating quorum nodes.
|
Old quorum nodes: ['ns_1@172.23.136.101','ns_1@172.23.104.202',
|
'ns_1@172.23.136.102','ns_1@172.23.136.103',
|
'ns_1@172.23.136.104','ns_1@172.23.104.235',
|
'ns_1@172.23.136.106','ns_1@172.23.104.128',
|
'ns_1@172.23.136.109']
|
New quorum nodes: ['ns_1@172.23.136.101','ns_1@172.23.104.202',
|
'ns_1@172.23.136.102','ns_1@172.23.136.103',
|
'ns_1@172.23.136.104','ns_1@172.23.136.106',
|
'ns_1@172.23.136.109']
|
6. the count still says 0 failovers
http://172.23.136.109:8091/settings/autoFailover
{"enabled":true,"timeout":30,"count":0,"failoverOnDataDiskIssues":{"enabled":false,"timePeriod":120},"disableMaxCount":false,"maxCount":4,"canAbortRebalance":true,"failoverPreserveDurabilityMajority":false}
|
Attachments
For Gerrit Dashboard: MB-61669 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
209166,10 | MB-61669: Persist state on autofailover completion | trinity | ns_server | Status: MERGED | +2 | +1 |
209251,4 | MB-61669: Fix fake_ns_config meck expect | trinity | ns_server | Status: MERGED | +2 | +1 |
209337,2 | Merge remote-tracking branch 'couchbase/trinity' | master | ns_server | Status: MERGED | +2 | +1 |