Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41009

Merge statement when matched semantic changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • bug-backlog
    • 6.5.1, Cheshire-Cat
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      The MERGE statement currently allows both an UPDATE and a DELETE statement in the WHEN MATCHED clauses.
      This has two issues
      1- most pressing: it sends the same value down two distinct operator paths, where two different operators could work on it concurrently
      2- semantically, it makes little sense to both update and delete the same document in the same statement.

      Amend MERGE as required.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Donald.haggart Donald Haggart
              marco.greco Marco Greco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty