LookupIn a path that is too long is returning the wrong results for Replicas

Description

For the test lookupInReallyLongPath in the SubdocServerErrorsTest file.

For the LookupInAllReplicas section we expect the SDK to return an empty stream because the failures are on the individual LookupIn request level. Instead the SDK is returning an SDK_INVALID_ARGUMENT_EXCEPTION on the stream.

Interestingly in this case the LookupInAnyReplica section is passing, where we expect a SDK_DOCUMENT_UNRETRIEVABLE_EXCEPTION because the All replicas call inside it should return an empty stream. I am not certain how this behaviour was achieved but the All replicas section is the only one currently failing.

Environment

None

Release Notes Description

None

Activity

Show:

Matt Wozakowski March 12, 2024 at 5:14 PM

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

Details

Assignee

Reporter

Sprint

Story Points

Fix versions

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created March 5, 2024 at 1:35 PM
Updated March 14, 2024 at 12:46 AM
Resolved March 14, 2024 at 12:46 AM
Instabug