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

Client not properly handling cluster_run server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • backlog-1.0
    • 1.2 Beta
    • library
    • None
    • Using cluster_run from branch-2.0 xml

    Description

      I can't do simple things like get/set stuff..

      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> .\cbc-net.exe -c set -k foo -V bar -H 10.0.0.99
      :8091; .\cbc-net.exe -c get -k foo -H 10.0.0.99:8091
      URI: http://10.0.0.99:8091/pools
      http://10.0.0.99:8091/pools
      Created new client..
      Arguments to ExecuteStore:
      0x00000003, 'foo', 'bar', 00:00:00, Zero, Zero
      Operation Succeeded. Cas: 610018894666114
      Duration was 3.07 Sec.
      URI: http://10.0.0.99:8091/pools
      http://10.0.0.99:8091/pools
      Created new client..
      Command OK
      Value is bar
      Cas is 610018894666114
      Duration was 3.09 Sec.
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> echo "hi" | C:\Users\Administrator\Documents\Gi
      tHub\deps\bin\cbc.exe create -h 10.0.0.99 foo2
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> # Now with the cluster_run cluster
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> .\cbc-net.exe -c set -k foo -V bar -H 10.0.0.99
      :9000; .\cbc-net.exe -c get -k foo -H 10.0.0.99:9000
      URI: http://10.0.0.99:9000/pools
      http://10.0.0.99:9000/pools
      Created new client..
      Arguments to ExecuteStore:
      0x00000003, 'foo', 'bar', 00:00:00, Zero, Zero
      Initial command failed (Store operation failed, see InnerResult or StatusCode for details). Trying simple version..
      .. Inner Message: Failed to execute operation
      Command Failed
      Code is 0
      Message is Store operation failed, see InnerResult or StatusCode for details
      Duration was 3.02 Sec.
      URI: http://10.0.0.99:9000/pools
      http://10.0.0.99:9000/pools
      Created new client..
      Command Failed
      Code is
      Message is Unable to locate node
      Duration was 3.05 Sec.
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug>

        1. This works fine with libcouchbase:

      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug>
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug>
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> echo "hi" | C:\Users\Administrator\Documents\Gi
      tHub\deps\bin\cbc.exe create -h 10.0.0.99:9000 foo2
      Stored "foo2" CAS:911342e1e62a0200
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug> C:\Users\Administrator\Documents\GitHub\deps\bi
      n\cbc.exe cat -h 10.0.0.99:9000 foo2
      "foo2" Size:3 Flags:0 CAS:911342e1e62a0200
      hi
      PS C:\Users\Administrator\Documents\GitHub\cbc-net\src\CbcNet\bin\Debug>

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty