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

CouchbaseException exception thrown when op timesout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • library
    • None
    • 1
    • SDK10: FIT, PthFndng, 3.5 Rel, SDK14: CLoE + Others, SDK18

    Description

      I noticed that when trying to remove a locked document, instead of a TimeoutException being thrown a CouchbaseException is thrown. Additionally, the reported lifetime is not the entire time that includes the retrys, so instead of being the showing the default ~2.5 timeout just the time of the last retry (0.0078759s) is displayed.

      Couchbase.CouchbaseException
      The Operation (Delete) was incomplete, and its Lifetime (0.0078759s) is inferior to its Timeout (2.5s) value.
      at Couchbase.Utils.ThrowHelper.ThrowFalseTimeoutException(IOperation operation) in /Users/jeffry.morris/Documents/source/couchbase-net-client/src/Couchbase/Utils/ThrowHelper.cs:line 126
      at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync(BucketBase bucket, IOperation operation, CancellationTokenPair tokenPair) in /Users/jeffry.morris/Documents/source/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 387
      at Couchbase.KeyValue.CouchbaseCollection.RemoveAsync(String id, RemoveOptions options) in /Users/jeffry.morris/Documents/source/couchbase-net-client/src/Couchbase/KeyValue/CouchbaseCollection.cs:line 448
      at Couchbase.CombinationTests.Tests.KeyValue.CollectionExtensionTests.Test_GetAndLockAsync_KeyFound() in /Users/jeffry.morris/Documents/source/couchbase-net-client/tests/Couchbase.CombinationTests/Tests/KeyValue/CollectionExtensionTests.cs:line 138
      at Xunit.Sdk.TestInvoker`1.<>c_DisplayClass48_1.<<InvokeTestMethodAsync>b_1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
      — End of stack trace from previous location —
      at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
      at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 90

      Attachments

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

        Activity

          People

            richard.ponton Richard Ponton
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty