Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Cheshire-Cat
-
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
For Gerrit Dashboard: MB-46019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
152659,4 | MB-46019 - fts not indexing docs with ipv6 cluster | master | cbgt | Status: MERGED | +2 | +1 |
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.
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