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

test_merge_update_match_set fails:MERGE INTO bucket b1 USING bucket b2 not working in a particular case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 4.5.0
    • 4.5.0
    • query
    • 4.5.0-2436
    • Untriaged
    • Yes

    Description

      Test this scenario:

      1. create 2 empty buckets default and standard_bucket.
      2. INSERT into standard_bucket0 (key , value) VALUES ("test",

      {"name": "new1"}

      );
      3. INSERT into default (key , value) VALUES ("new1",

      {"name": "new2"}

      );
      4. MERGE INTO default b1 USING standard_bucket0 b2 on key name when matched then update set b1.name="edit";
      5. SELECT name FROM default
      should return the updated value "edit"

      It does return "edit", in 2151.

      Attachments

        For Gerrit Dashboard: MB-19455
        # Subject Branch Project Status CR V

        Activity

          People

            keshav Keshav Murthy
            Prerna.Manaktala Prerna Manaktala (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