Details

    • Task
    • Resolution: Incomplete
    • Major
    • None
    • 2.0.3
    • None
    • Security Level: Public
    • None
    • latest Couchbase, latest Mac OS

    Description

      bucket.getAndLock(item.id,

      { lockTime: 10 }

      , function (error, package) {
      if (error) {
      if (error.code === 11)

      { return fn('locked'); }

      else

      { return fn(error); }

      } else

      { return fn(null, package.value, package.cas); }

      });

      I have this code running 3-4 times in parallel. It always goes through on 2 processes ... that's not locking.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            Pathe Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty