Use Hello to determine if collections are available

Description

On 3.1.5/3.1.6 this manifests as an exception logged in DEBUG mode that should be ignored:

2021-05-24T15:56:16.6837484-07:00 [DBG] Op failed: "Couchbase.Core.IO.Operations.Collections.GetCid" (01625f1d) Couchbase.Core.Exceptions.InvalidArgumentException: Exception of type 'Couchbase.Core.Exceptions.InvalidArgumentException' was thrown. at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair) -----------------------Context Info--------------------------- {"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"34","Cas":0,"Status":4,"BucketName":"default","CollectionName":null,"ScopeName":null,"Message":"KV Error: \{Name=\"EINVAL\", Description=\"Invalid packet\", Attributes=\"internal,invalid-input\"}","OpCode":"GetCidByName"} 2021-05-24T15:56:16.6889110-07:00 [INF] Possible non-terminal error fetching CID. (e7f3ddd1) Couchbase.Core.Exceptions.InvalidArgumentException: Exception of type 'Couchbase.Core.Exceptions.InvalidArgumentException' was thrown. at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair) at Couchbase.CouchbaseBucket.SendAsync(IOperation op, CancellationTokenPair tokenPair) at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync(BucketBase bucket, IOperation operation, CancellationTokenPair tokenPair) at Couchbase.KeyValue.CouchbaseCollection.GetCidAsync(String fullyQualifiedName, Boolean sendAsBody) at Couchbase.KeyValue.CouchbaseCollection.PopulateCidAsync() -----------------------Context Info--------------------------- {"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"34","Cas":0,"Status":4,"BucketName":"default","CollectionName":null,"ScopeName":null,"Message":"KV Error: \{Name=\"EINVAL\", Description=\"Invalid packet\", Attributes=\"internal,invalid-input\"}","OpCode":"GetCidByName"}

 

It is fixed in 3.1.7.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 17, 2021 at 7:45 PM
Updated May 31, 2021 at 3:15 PM
Resolved May 22, 2021 at 12:33 AM
Instabug