Description
To repro:
- setup 2 node cluster
- load travel-sample
- disable auto-failover
- enable N2N encryption: /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable
- enable strict mode: /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level strict
- run query in transaction (should work) e.g. select airportname from `travel-sample`.inventory.airport where city = 'Lyon';
- enable control mode: /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level control
- rerun query in transaction ... will fail
cbq> select airportname from `travel-sample`.inventory.airport where city = 'Lyon'; |
{
|
"requestID": "f1b598b7-5d6e-4399-bcf0-b95653eafc66", |
"signature": { |
"airportname": "json" |
},
|
"results": [ |
],
|
"errors": [ |
{
|
"cause": { |
"cause": { |
"-": { |
"InnerError": { |
"InnerError": {}, |
"Message": "unambiguous timeout" |
}
|
},
|
"i": "0x0", |
"s": "LookupIn", |
"t": 2500815 |
},
|
"raise": "failed", |
"retry": true, |
"rollback": true |
},
|
"code": 17017, |
"msg": "Transaction fetch error" |
}
|
],
|
"status": "errors", |
"metrics": { |
"elapsedTime": "2.56480491s", |
"executionTime": "2.564635168s", |
"resultCount": 0, |
"resultSize": 0, |
"serviceLoad": 1, |
"transactionElapsedTime": "5.921092717s", |
"transactionRemainingTime": "1m54.078777666s", |
"errorCount": 1 |
}
|
}
|
|
See attached logs.