Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.0.2
-
7.0.2-6558
-
Untriaged
-
1
-
Unknown
Description
To repro (require node with ipv4/ipv6 support)
- setup cluster with kv,index and n1ql (use hostname), use default ipv4 ip family
- disable autofailover
- load travel-sample
- run simple query: select * from `travel-sample` limit 10;
- switch to ipv6 family: /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv6
- run query again
cbq> select * from `travel-sample` limit 10; |
{
|
"requestID": "a98244a2-b0e7-4865-95d4-4371a8c50648", |
"errors": [ |
{
|
"code": 4000, |
"msg": "No index available on keyspace `default`:`travel-sample` that matches your query. Use CREATE PRIMARY INDEX ON `default`:`travel-sample` to create a primary index, or check that your expected index is online." |
}
|
],
|
"status": "fatal", |
Note indexer process:
[root@cluster logs]# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv4 |
Switched IP family for node: http://cluster.couchbase.com:8091 |
SUCCESS: Switched IP family of the cluster
|
|
[root@cluster logs]# lsof -i -P -n | grep LISTEN | grep couchbase| grep -i index |
indexer 10900 couchbase 15u IPv4 185082073 0t0 TCP *:9101 (LISTEN) |
indexer 10900 couchbase 22u IPv4 185078777 0t0 TCP *:9100 (LISTEN) |
indexer 10900 couchbase 24u IPv4 185078780 0t0 TCP *:9102 (LISTEN) |
indexer 10900 couchbase 25u IPv4 185078781 0t0 TCP *:19102 (LISTEN) |
indexer 10900 couchbase 124u IPv4 185082939 0t0 TCP *:9105 (LISTEN) |
|
[root@cluster logs]# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv6 |
Switched IP family for node: http://cluster.couchbase.com:8091 |
SUCCESS: Switched IP family of the cluster
|
|
[root@cluster logs]# lsof -i -P -n | grep LISTEN | grep couchbase| grep -i index |
indexer 11354 couchbase 15u IPv6 185084236 0t0 TCP *:9101 (LISTEN) |
indexer 11354 couchbase 22u IPv6 185084263 0t0 TCP *:9100 (LISTEN) |
indexer 11354 couchbase 24u IPv6 185084935 0t0 TCP *:9102 (LISTEN) |
indexer 11354 couchbase 25u IPv6 185084936 0t0 TCP *:19102 (LISTEN) |
Attachments
Issue Links
- is cloned by
-
MB-48146 [BP 7.0.2 MB-48110] - [IPV6] no index available when switching to ipv6 or ipv6only IP family
- Closed
For Gerrit Dashboard: MB-48110 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
160077,2 | MB-48146 Do not resolve TCP address when creating connection | cheshire-cat | gometa | Status: MERGED | +2 | +1 |
160439,1 | MB-48146 Initialise go.mod in gometa repo | cheshire-cat | gometa | Status: MERGED | +2 | +1 |
160452,2 | MB-48110 Do not use local version of gometa in query | master | query | Status: ABANDONED | 0 | 0 |
160456,3 | MB-48110 Use latest version of gometa in query | master | query | Status: ABANDONED | -1 | 0 |
160457,2 | MB-48110 Update go.sum in nifty for gometa change in query | master | n1fty | Status: ABANDONED | -1 | 0 |
160479,4 | MB-48110 Initialise go.mod in gometa repo | master | gometa | Status: MERGED | +2 | +1 |
160480,2 | MB-48110 Update query go.mod to "replace" gometa | master | query | Status: MERGED | +2 | +1 |
160481,3 | MB-48110 Update n1fty go.mod to "replace" gometa | master | n1fty | Status: MERGED | +2 | +1 |
160491,2 | Update query go.mod to "replace" gometa | master | query | Status: ABANDONED | 0 | 0 |
160492,2 | MB-48146 Update query go.mod to "replace" gometa | cheshire-cat | query | Status: MERGED | +2 | +1 |
160493,2 | MB-48146 Update n1fty go.mod to "replace" gometa | cheshire-cat | n1fty | Status: MERGED | +2 | +1 |