Allow Subdoc MutateIn Deletions with a blank path

Description

This is a Sync Gateway requirement

Currently as per the RFC Insert, Upsert, Replace, Delete here then it states what behaviour should happen when the user defines a blank path. For replace it will perform a memcached subdocument operation which is a subdocument whole doc set command. For the other operations we don’t allowusers to use the blank path. In SDK2 we did allow blank path for delete, and it mapped to a subdocument whole doc remove command. The reason for allowing this is so that the user can write an xattr/vattr at the same time as deleting the doc.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Jared Casey July 24, 2023 at 3:30 PM

Subdoc mutateIn updated to allow deletes when remove Spec has blank path.

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 10, 2021 at 11:05 PM
Updated July 24, 2023 at 3:30 PM
Resolved July 24, 2023 at 3:30 PM
Instabug