Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3681

FIT KV: Lock tests failing, DocumentLockedException is not thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • fit-performer
    • None
    • None
    • None

    Description

      NCBC-3204 identified this issue, where DocumentLockedException is not thrown and instead a Timeout is thrown.

      When trying to perform an Upsert on a locked document: Couchbase.CouchbaseException: The Operation (ClusterMapChangeNotification) was incomplete, and its Lifetime (0.0186525s) is inferior to its Timeout (2.5s)

      When trying to perform a MutateIn on a locked Document: The Operation (SubMultiMutation) was incomplete, and its Lifetime (0.0123232s) is inferior to its Timeout (2.5s) value.

       

      From what I can see, the server returns ResponseStatus.Locked, and RetryOrchestrator retries with RetryReason.KvLocked, but does not throw DocumentLockedException.

      This ticket is linked to these Driver failures:

      • unlockCasMismatch)
      • verifyUnlockCasMismatch)
      • verifyGetAndLockDoubleLock()
      • getAndLockTimeoutHasRetryReasonLocked()
      • upsertLockedDocumentTimeoutHasRetryReasonLocked()

      There's a good chance fixing this ticket will also fix some Touch tests from NCBC-3636

       

      Attachments

        Issue Links

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

          Activity

            People

              richard.ponton Richard Ponton
              emilien.bevierre Emilien Bevierre
              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