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

Upsert in Magma's YCSB perf tests is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • None
    • performance
    • Untriaged
    • 1
    • Unknown

    Description

      During update operations with the upsert flag set, the https://github.com/couchbaselabs/YCSB/tree/couchbase3 benchmark we use uses the sdk collection.replace operations which does a lookup followed by an update operation. With the upsert flag it should be using the collection.upsert operation. This bug seems to be only in the couchbase3 YCSB client, couchbase2 is fine.

      This issue results in Couchbase effectively doing two reads(one from sdk and one for item count in kv) and one write per update operation. This is broken for all of Magma's 1% dgm YCSB tests since we set the upsert flag in all of them.

       

      Edit:

      The methods which would have to be changed in the YCSB client are:

      Attachments

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

        Activity

          People

            bo-chun.wang Bo-Chun Wang
            apaar.gupta Apaar Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty