[NCBC-135] Client not properly handling cluster_run server Created: 03/Oct/12 Updated: 17/May/13 |
|
| Status: | Open |
| Project: | Couchbase .NET client library |
| Component/s: | library |
| Affects Version/s: | 1.2 Beta |
| Fix Version/s: | 1.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Mark Nunberg | Assignee: | John Zablocki |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | 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> ## 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> |
| Comments |
| Comment by Mark Nunberg [ 03/Oct/12 ] |
| Currently this forces me to run tests against a remote cluster with .net. It would be nice to have the ability to run these tests locally via 'cluster_run' |
| Comment by Mark Nunberg [ 03/Oct/12 ] |
| fyi, it seems from running tcpdump that it's connecting to the rest server and also connecting to some memcached port.. but the op still fails.. |