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

Operations are silently ignored if the send queue is full

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.7
    • 3.0.5
    • library
    • None
    • 1

    Description

      If the send queue is full, operations are not sent and no error is reported back to sender

       

      Code to reproduce: (irrelevant code removed)

      // disable breaker to prevent it from opening due to timeouts

      CircuitBreakerConfiguration.Default.Enabled = false;
      var clusterOptions = new ClusterOptions()

      { Password = "xxx", UserName = "yyy", CircuitBreakerConfiguration = CircuitBreakerConfiguration.Default, }

      ;

      var getOptions = new GetOptions().Timeout(TimeSpan.FromSeconds(100));

      var collection = bucket.DefaultCollection();

      try

      { Console.WriteLine("Reading key:xyz"); sw.Restart(); var getTasks = Enumerable.Range(1, 10000).Select(i => collection.GetAsync("key:xyz", getOptions).ConfigureAwait(false)).ToArray(); await Task.WhenAll(getTasks.Select(async t => await t)); sw.Stop(); // raw = doc.ContentAs<JToken>(); Console.Write($"GetAsync done in \{sw.ElapsedMilliseconds}

      ms : ");

       

       

       

      Attachments

        Activity

          People

            btburnett3 Brant Burnett
            tommyja Tommy Jakobsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty