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

FTS: ipv6 cluster - fts index is not indexing docs

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Build: 7.0.0-5017

      Steps to reproduce:

      • create cluster {kv} {fts} using 2 nodes with ipv6 enabled.
      • create `default` bucket, load any document
      • create default fts index on bucket `default` 
      • number of indexed documents remains 0.

      Logs are attached.

      Attachments

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

        Activity

          Verified for build: 7.0.0-5087

          evgeny.makarenko Evgeny Makarenko (Inactive) added a comment - Verified for build: 7.0.0-5087

          Build couchbase-server-7.0.0-5087 contains cbgt commit c888937 with commit message:
          MB-46019 - fts not indexing docs with ipv6 cluster

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5087 contains cbgt commit c888937 with commit message: MB-46019 - fts not indexing docs with ipv6 cluster

          Thanks, Evgeny Makarenko for capturing this issue. Please don't forget to set the Fix Version/s as "Cheshire-Cat" for surfacing in our search radars.

          From the logs,  we can see the errors like this during feed establishments.

          2021-04-30T08:34:11.232-07:00 [WARN] (GOCBCORE) Failed to connect to host. Unable to find given hostport in cbauth database: `1:18091' -- cbgt.GocbcoreLogger.Log() at gocbcore_utils.go:615
          2021-04-30T08:34:11.233-07:00 [WARN] feed_dcp_gocbcore: CreateDcpAgent, err: Unable to find given hostport in cbauth database: `1:18091' (close DCPAgent: 0xc000387a00) -- cbgt.setupGocbcoreDCPAgent() at feed_dcp_gocbcore.go:363 

           

          This happens due to a minor glitch in the way we parse the connection URLs in the feed establishment code.

          ref - https://github.com/couchbase/cbgt/blob/master/feed_dcp_gocbcore.go#L182

          If the result is enclosed in square brackets, as literal IPv6 addresses are, the square brackets are removed from the result.

          https://golang.org/src/net/url/url.go?s=31758:31789#L1128

           

          Sreekanth Sivasankaran Sreekanth Sivasankaran added a comment - Thanks, Evgeny Makarenko  for capturing this issue. Please don't forget to set the Fix Version/s as "Cheshire-Cat" for surfacing in our search radars. From the logs,  we can see the errors like this during feed establishments. 2021 - 04 -30T08: 34 : 11.232 - 07 : 00 [WARN] (GOCBCORE) Failed to connect to host. Unable to find given hostport in cbauth database: ` 1 : 18091 ' -- cbgt.GocbcoreLogger.Log() at gocbcore_utils.go: 615 2021 - 04 -30T08: 34 : 11.233 - 07 : 00 [WARN] feed_dcp_gocbcore: CreateDcpAgent, err: Unable to find given hostport in cbauth database: ` 1 : 18091 ' (close DCPAgent: 0xc000387a00 ) -- cbgt.setupGocbcoreDCPAgent() at feed_dcp_gocbcore.go: 363   This happens due to a minor glitch in the way we parse the connection URLs in the feed establishment code. ref - https://github.com/couchbase/cbgt/blob/master/feed_dcp_gocbcore.go#L182 If the result is enclosed in square brackets, as literal IPv6 addresses are, the square brackets are removed from the result. https://golang.org/src/net/url/url.go?s=31758:31789#L1128  

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            evgeny.makarenko Evgeny Makarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty