Add client-side check for TooManySpecs in LookupIn

Description

LookupInAnyReplica will throw a DocumentUnretrievableException when all of the streams fail. https://couchbasecloud.atlassian.net/browse/NCBC-3455#icft=NCBC-3455 makes sure to include the inner errors in an AggregateException, however the desired behaviour is to perform a client-side check to see if the number of specs > 16 and throw InvalidArgumentException in that case.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Emilien Bevierre September 29, 2023 at 9:32 AM

All 3 LookupIn methods now have a client-side check for the 16 Spec count.

Resolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 22, 2023 at 2:51 PM
Updated September 29, 2023 at 9:32 AM
Resolved September 29, 2023 at 9:32 AM
Instabug