Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-669

LCB store callback confuses cas and token

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0
    • None
    • None
    • 1

    Description

      the js side of the lcb store callback expects a triple of (err, cas, token) the js callback expects (err, cas, token) https://github.com/couchbase/couchnode/blob/3d0b7e8ef249ac2c912845320e5742b6fa6ff197/lib/collection.js#L473
      but the LCB side only writes (err, token) and omits the cas.. now the token is treated as the cas.

      https://github.com/couchbase/couchnode/blob/master/src/connection_callbacks.cpp#L168

      Attachments

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

        Activity

          People

            michael.reiche Michael Reiche
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty