FIT KV: SubdocMutationTest - Full Document using "" throws InvalidArgument

Description

Root Issue:

The SDK was not using the correct OpCodes for Replace/Remove operations when the given path is empty ("").

The value of the operation was also being written (or was dedicated a section of the packet) for OpCode.Delete when it should not have (i.e OpCode.Delete is used for Remove Specs with an empty path, instead of OpCode.SubDelete).

These tests are failing:

  1. removeFullDocAndSetSystemXattr

  2. replaceFullDocument

Both fail with:

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

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 5, 2024 at 5:55 PM
Updated February 13, 2024 at 9:27 AM
Resolved February 13, 2024 at 9:27 AM
Instabug