Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18772

[FTS] Unable to perform delta/full recovery on a gracefully failed over kv+full text node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 4.5.0
    • 4.5.0
    • ns_server
    • None

    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

      {"otpNode":"invalid node name or node can't be used for delta recovery"}

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty