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

TOUCH receives stale CAS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.0.0
    • 4.0.0, 4.1.2, 4.5.0, 4.6.0
    • couchbase-bucket
    • Untriaged
    • Ubuntu 64-bit
    • Unknown

    Description

      TOUCH modifies a document and updates a CAS value also.  But the result of TOUCH doesn't have an updated CAS value.  There's only a stale CAS value.  GET with TTL also has same problem.

      $ cbc create foo -V bar -u default -P123456
      foo Stored. CAS=0x14b68627ff9f0000
      $ cbc touch foo -e 100 -u default -P123456
      foo Touched. CAS=0x14b68627ff9f0000
      $ cbc cat foo -u default -P123456
      foo CAS=0x14b6862b07650000, Flags=0x0. Size=3

      The second GET has the correct CAS which has been updated by the TOUCH.  But TOUCH has the previous CAS.

      Attachments

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

        Activity

          People

            drigby Dave Rigby (Inactive)
            sublee Heungsub Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty