Description
Build
4.5.0-1759
Testcase
./testrunner -i INI_FILE.ini -p skip-cleanup=True,get-cbcollect-info=True,get-logs=False,stop-on-failure=False,index_retry=10,GROUP=ALL -t fts.moving_topology_fts.MovingTopFTS.graceful_failover_and_delta_recovery_during_index_building,items=30000,cluster=D,D+F,GROUP=P0
Steps
1. To a single data node cluster, add in another nodes with kv+fts enabled. Rebalance.
2. Gracefully failover the kv+fts nodes
3. Try to add back with delta recovery. Rest call through testrunner fails with "controller/reAddNode failed when invoked with parameters: otpNode=ns_1@172.23.106.176"
I tried to isolate testrunner from the problem and see the same through curl -
Arunas-MacBook-Pro:testrunner apiravi$ curl -XPOST -u Administrator:password http://172.23.106.139:8091/controller/reAddNode -d optNode=ns_1@172.23.106.176
On the UI, delta recovery is enabled though. However nothing happens when I click on delta recovery once. The second time, it works as shown in the series of screenshots. Rebalance also passes successfully.
Per Aliaksey, delta recovery of kv+fts node following a graceful failover must work.
Attaching screenshots and logs.