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

Incorrect documentation for SET_WITH_META + options encoding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.0.0
    • 4.6.0
    • couchbase-bucket
    • None
    • Triaged
    • No

    Description

      While modifying the existing setWithMeta tests to support the new format described here I ran a test case which:

      • single node cluster
      • create a bucket with timestamp conflict resolution
      • sets a key
      • gets the meta data for that key - the CAS is 48 bits of timestamp and 16 bits logical counter with is 0
      • increment the CAS by 1
      • call setWithMeta with extras as 4 byte options, 4 byte flags, 4 bytes expiration, 8 bytes req seq no of 123, and 8 bytes of the CAS
      • the command is rejected with invalid arguments - Wireshark capture is attached

      The test runner command is:

      ./testrunner -i one-node.ini  -t epengine.opschangecas.OpsChangeCasTests.test_cas_setMeta_lower
      

      I will reassign this to Jim one I check in the needed test runner changes.

      Attachments

        1. setWithMeta.pcapng
          124 kB
          Eric Cooper
        2. Screen Shot 2016-12-05 at 18.19.48.png
          175 kB
          Dave Rigby
        For Gerrit Dashboard: MB-21891
        # Subject Branch Project Status CR V

        Activity

          People

            jwalker Jim Walker
            ericcooper Eric Cooper (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty