MultiMutation duplicates specs on Retry, causing SUBDOC_INVALID_COMBO.

Description

The _mutateCommands field is populated during WriteBody, to be used later by GetCommandValues().  However, since Reset() is not overridden, it is never cleared.  Subsequent calls to WriteBody add the same specs to _mutateCommands, possibly exceeding the 16 spec limit and causing an error.

 

{Name=\"SUBDOC_INVALID_COMBO\", Description=\"Subdoc: Lookup and mutation commands found within single packet\", Attributes=\"subdoc,invalid-input\"}

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

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created December 17, 2020 at 2:43 AM
Updated December 17, 2020 at 6:31 PM
Resolved December 17, 2020 at 5:55 PM
Instabug