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

"Not connected to any bucket" / NO_BUCKET error on insert

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.20
    • 2.7.19
    • library
    • windows / .net core 3.1

      Couchbase Server Enterprise Edition 6.5.1 build 6299
    • 1

    Description

      Summary: When trying to insert data into a bucket, operations fails (when using 2.7.19)

      Repro:

      1. See attached code for barebones example.
      2. Debug to bucket.Insert
      3. View response.Success

      Expected:

      response.Success is true, and document is inserted.

      Actual:

      response.Success is false.

      document is not inserted

      message is KV Error: {Name="NO_BUCKET", Description="Not connected to any bucket", Attributes="conn-state-invalidated"}

      Notes:

      I tried the exact same code with 2.7.18, and it works as expected.

      Log output is attached. Code attached.

       

      Attachments

        1. logs.txt
          42 kB
          Matthew Groves
        2. nlog.config
          1.0 kB
          Matthew Groves
        3. Program.cs
          2 kB
          Matthew Groves
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            matthew.groves Matthew Groves
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty