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

On OSX default connection pool hangs when doing bulk async/await ops

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.0
    • 2.4.0-dp2
    • library
    • None

    Description

      Work-around is to use MUX IO:

      //first add the appropriate using statements to the class header:
      using Couchbase.IO;
      using Couchbase.IO.Services;
       
      ....
       
      // later create a client configuration and pass into the ClusterHelper.Initialize or the Cluster ctor:
       var config = new ClientConfiguration
       {
              Servers = new List<Uri> {new Uri("http://localhost:8091/")},
       };
       config.ConnectionPoolCreator = ConnectionPoolFactory.GetFactory<ConnectionPool<MultiplexingConnection>>();
       config.IOServiceCreator = IOServiceFactory.GetFactory<MultiplexingIOService>();
       ClusterHelper.Initialize(config);
      

      Attachments

        Issue Links

          Activity

            People

              tgreenstein Todd Greenstein [X] (Inactive)
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty