added a comment - Verified on 7.1.0-2210
Set ipv6:
# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv6
Switched IP family for node: http: //node1.couchbase.com:8091
Switched IP family for node: http: //node3.couchbase.com:8091
SUCCESS: Switched IP family of the cluster
# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --get --ipv6
Cluster using ipv6
Run query:
cbq> select * from `travel-sample` limit 10 ;
{
"requestID" : "414f7431-1774-42e6-a54b-b0262a63d0d3" ,
"signature" : {
"*" : "*"
},
"results" : [
{
"travel-sample" : {
"callsign" : "MILE-AIR" ,
"country" : "United States" ,
"iata" : "Q5" ,
"icao" : "MLA" ,
"id" : 10 ,
"name" : "40-Mile Air" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "TXW" ,
"country" : "United States" ,
"iata" : "TQ" ,
"icao" : "TXW" ,
"id" : 10123 ,
"name" : "Texas Wings" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "atifly" ,
"country" : "United States" ,
"iata" : "A1" ,
"icao" : "A1F" ,
"id" : 10226 ,
"name" : "Atifly" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : null ,
"country" : "United Kingdom" ,
"iata" : null ,
"icao" : "JRB" ,
"id" : 10642 ,
"name" : "Jc royal.britannica" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "LOCAIR" ,
"country" : "United States" ,
"iata" : "ZQ" ,
"icao" : "LOC" ,
"id" : 10748 ,
"name" : "Locair" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "SASQUATCH" ,
"country" : "United States" ,
"iata" : "K5" ,
"icao" : "SQH" ,
"id" : 10765 ,
"name" : "SeaPort Airlines" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "ACE AIR" ,
"country" : "United States" ,
"iata" : "KO" ,
"icao" : "AER" ,
"id" : 109 ,
"name" : "Alaska Central Express" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "FLYSTAR" ,
"country" : "United Kingdom" ,
"iata" : "5W" ,
"icao" : "AEU" ,
"id" : 112 ,
"name" : "Astraeus" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "REUNION" ,
"country" : "France" ,
"iata" : "UU" ,
"icao" : "REU" ,
"id" : 1191 ,
"name" : "Air Austral" ,
"type" : "airline"
}
},
{
"travel-sample" : {
"callsign" : "AIRLINAIR" ,
"country" : "France" ,
"iata" : "A5" ,
"icao" : "RLA" ,
"id" : 1203 ,
"name" : "Airlinair" ,
"type" : "airline"
}
}
],
"status" : "success" ,
"metrics" : {
"elapsedTime" : "186.666862ms" ,
"executionTime" : "186.366342ms" ,
"resultCount" : 10 ,
"resultSize" : 2602 ,
"serviceLoad" : 6
}
}
Check indexer listner:
# lsof -i -P -n | grep LISTEN | grep couchbase| grep -i index
indexer 16453 couchbase 18u IPv6 382194852 0t0 TCP *: 9101 (LISTEN)
indexer 16453 couchbase 21u IPv6 382194188 0t0 TCP *: 9100 (LISTEN)
indexer 16453 couchbase 24u IPv6 382194864 0t0 TCP *: 9102 (LISTEN)
indexer 16453 couchbase 25u IPv6 382194865 0t0 TCP *: 19102 (LISTEN)
indexer 16453 couchbase 30u IPv6 382193461 0t0 TCP *: 9105 (LISTEN)
Build couchbase-server-7.1.0-1225 contains n1fty commit 885e4a8 with commit message:
MB-48110Update n1fty go.mod to "replace" gometa