You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating unique indexed field on a given doc succeeds but updating a non indexed field of a doc with a unique index fails. The following should succeed but it fails with the error:
can not index a doc's field(s) that violates unique index. DocID: bae-b0a35b3c-486b-54fc-8736-eeff036414ef, name: Fred.
## Relevant issue(s)
Resolves#2510
## Description
This PR adds a check to the index validation step where if the resulting
KV pair is the same on update as the previous KV pair, the outcome will
be an no-op instead of an index existing error.
Updating unique indexed field on a given doc succeeds but updating a non indexed field of a doc with a unique index fails. The following should succeed but it fails with the error:
There is also a similar behaviour for composite indexes where the following should succeed but fails with the error:
The text was updated successfully, but these errors were encountered: