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

FTS: fts node settings are switched to default value after node reboot

    XMLWordPrintable

Details

    Description

      Build: 7.0.0-5247

      Create cluster:

       

      {kv, fts} - 172.23.100.22
      {kv, fts, index, query} - 172.23.107.35
      {fts} - 172.23.107.77
      

      Check initial settings using 172.23.100.22:

      curl -XGET -H "Content-Type: application/json"  -u Administrator:password http://172.23.100.22:8094/api/manager | jq
      

      Below are settings values:

      {
        "mgr": {
          "bindHttp": "172.23.100.22:8094",
          "container": "datacenter/Group 1",
          "dataDir": "/opt/couchbase/var/lib/couchbase/data/@fts",
          "extras": "{\"bindGRPC\":\"172.23.100.22:9130\",\"bindGRPCSSL\":\"172.23.100.22:19130\",\"bindHTTPS\":\":18094\",\"features\":\"leanPlan,indexType:scorch,indexType:upside_down,protocol:gRPC,gocbcore:collections,segmentVersion:15\",\"nsHostPort\":\"172.23.100.22:8091\",\"version-cbft.app\":\"v0.6.0\",\"version-cbft.lib\":\"v0.5.5\"}",
          "options": {
            "authType": "cbauth",
            "bindGRPC": "172.23.100.22:9130",
            "bindGRPCSSL": "172.23.100.22:19130",
            "bleveMaxResultWindow": "100000000",
            "bucketTypesAllowed": "membase:ephemeral",
            "cbaudit": "true",
            "defaultMaxPartitionsPerPIndex": "171",
            "failoverAssignAllPrimaries": "false",
            "feedAllotment": "oneFeedPerPIndex",
            "ftsMemoryQuota": "1024000000",
            "hideUI": "true",
            "http2": "true",
            "ipv6": "false",
            "maxReplicasAllowed": "3",
            "nsServerURL": "http://127.0.0.1:8091",
            "serverSslPort": "18091",
            "slowQueryLogTimeout": "5s",
            "sourcePartitions": "1024",
            "startCheckServer": "skip",
            "vbuckets": "1024"
          },
          "server": "http://127.0.0.1:8091",
          "startTime": "2021-06-02T17:50:54.9585527-07:00",
          "tags": [
            "feed",
            "janitor",
            "pindex",
            "queryer",
            "cbauth_service"
          ],
          "uuid": "7c1fe4ea54c2ca3625e6fc6bb1054392",
          "version": "5.5.0",
          "weight": 1
        },
        "status": "ok"
      }
      

      Change some settings:

       

      bleveMaxResultWindow=100001000
      feedAllotment=twoFeedsPerPIndex
      ftsMemoryQuota=1024000100
      slowQueryLogTimeout=30s
      

      Check that new values are set:

      curl -XGET -H "Content-Type: application/json" -u Administrator:password http://172.23.100.22:8094/api/manager | jq
      
      

      {
        "mgr": {
          "bindHttp": "172.23.100.22:8094",
          "container": "datacenter/Group 1",
          "dataDir": "/opt/couchbase/var/lib/couchbase/data/@fts",
          "extras": "{\"bindGRPC\":\"172.23.100.22:9130\",\"bindGRPCSSL\":\"172.23.100.22:19130\",\"bindHTTPS\":\":18094\",\"features\":\"leanPlan,indexType:scorch,indexType:upside_down,protocol:gRPC,gocbcore:collections,segmentVersion:15\",\"nsHostPort\":\"172.23.100.22:8091\",\"version-cbft.app\":\"v0.6.0\",\"version-cbft.lib\":\"v0.5.5\"}",
          "options": {
            "authType": "cbauth",
            "bindGRPC": "172.23.100.22:9130",
            "bindGRPCSSL": "172.23.100.22:19130",
            "bleveMaxResultWindow": "100001000",
            "bucketTypesAllowed": "membase:ephemeral",
            "cbaudit": "true",
            "defaultMaxPartitionsPerPIndex": "171",
            "failoverAssignAllPrimaries": "false",
            "feedAllotment": "twoFeedsPerPIndex",
            "ftsMemoryQuota": "1024000100",
            "hideUI": "true",
            "http2": "true",
            "ipv6": "false",
            "maxReplicasAllowed": "3",
            "nsServerURL": "http://127.0.0.1:8091",
            "serverSslPort": "18091",
            "slowQueryLogTimeout": "30s",
            "sourcePartitions": "1024",
            "startCheckServer": "skip",
            "vbuckets": "1024"
          },
          "server": "http://127.0.0.1:8091",
          "startTime": "2021-06-02T17:50:54.9585527-07:00",
          "tags": [
            "feed",
            "janitor",
            "pindex",
            "queryer",
            "cbauth_service"
          ],
          "uuid": "7c1fe4ea54c2ca3625e6fc6bb1054392",
          "version": "5.5.0",
          "weight": 1
        },
        "status": "ok"
      }
      

      Reboot 172.23.100.22 

      Check settings:

      {
        "mgr": {
          "bindHttp": "172.23.100.22:8094",
          "container": "datacenter/Group 1",
          "dataDir": "/opt/couchbase/var/lib/couchbase/data/@fts",
          "extras": "{\"bindGRPC\":\"172.23.100.22:9130\",\"bindGRPCSSL\":\"172.23.100.22:19130\",\"bindHTTPS\":\":18094\",\"features\":\"leanPlan,indexType:scorch,indexType:upside_down,protocol:gRPC,gocbcore:collections,segmentVersion:15\",\"nsHostPort\":\"172.23.100.22:8091\",\"version-cbft.app\":\"v0.6.0\",\"version-cbft.lib\":\"v0.5.5\"}",
          "options": {
            "authType": "cbauth",
            "bindGRPC": "172.23.100.22:9130",
            "bindGRPCSSL": "172.23.100.22:19130",
            "bleveMaxResultWindow": "10000000",
            "bucketTypesAllowed": "membase:ephemeral",
            "cbaudit": "true",
            "defaultMaxPartitionsPerPIndex": "171",
            "failoverAssignAllPrimaries": "false",
            "feedAllotment": "oneFeedPerPIndex",
            "ftsMemoryQuota": "1024000000",
            "hideUI": "true",
            "http2": "true",
            "ipv6": "false",
            "maxReplicasAllowed": "3",
            "nsServerURL": "http://127.0.0.1:8091",
            "serverSslPort": "18091",
            "slowQueryLogTimeout": "5s",
            "sourcePartitions": "1024",
            "startCheckServer": "skip",
            "vbuckets": "1024"
          },
          "server": "http://127.0.0.1:8091",
          "startTime": "2021-06-02T17:53:22.513945934-07:00",
          "tags": [
            "feed",
            "janitor",
            "pindex",
            "queryer",
            "cbauth_service"
          ],
          "uuid": "7c1fe4ea54c2ca3625e6fc6bb1054392",
          "version": "5.5.0",
          "weight": 1
        },
        "status": "ok"
      }
      

      Settings are reverted to default values.

       

       

      Attachments

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

        Activity

          Build couchbase-server-7.0.0-5264 contains cbgt commit 48f9561 with commit message:
          MB-46721 - FTS configs changes not surviving node reboot

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5264 contains cbgt commit 48f9561 with commit message: MB-46721 - FTS configs changes not surviving node reboot

          Build couchbase-server-7.0.1-5818 contains cbgt commit 48f9561 with commit message:
          MB-46721 - FTS configs changes not surviving node reboot

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5818 contains cbgt commit 48f9561 with commit message: MB-46721 - FTS configs changes not surviving node reboot

          Build couchbase-server-7.1.0-1001 contains cbgt commit 48f9561 with commit message:
          MB-46721 - FTS configs changes not surviving node reboot

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1001 contains cbgt commit 48f9561 with commit message: MB-46721 - FTS configs changes not surviving node reboot

          Verified for 7.0.0-5264 and 7.0.1-5818

          evgeny.makarenko Evgeny Makarenko (Inactive) added a comment - Verified for 7.0.0-5264 and 7.0.1-5818

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            evgeny.makarenko Evgeny Makarenko (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