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

IBucket.PingAsync doesn't work with multiple threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • backlog-3.0
    • 3.0.1
    • library
    • None
    • 1

    Description

      Bucket.PingAsync() doesn't work when called from multiple threads. 

      Psedo code:

      cluster = Cluster.ConnectAsync(..) 
      cluster.PingAsync() 
      delay 5 sec 
       
      parallel foreach bucketName in bucketNames 
         bucket = cluster.GetBucketAsync() 
         bucket.PingAsync()
      

      The very first bucket ping succeeds but the following fails, even though the bucket exists.

      Parallel code works if you have a cluster per bucket.

      First reported on the forums

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              mbendtsen mbendtsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty