DESCRIPTION

JCBC-280 - Support for edit bucket functionality through cbc.

Change-Id: Ia96f7653630a16e9c922a00882ff7fc1c1c195e8


COMMENTS

author: Natasha Sullivan
date: 2013-07-02 07:59:43.913000000

Patch Set 2:

Automatically re-added by Gerrit trivial rebase detection script.

-------------------------------------
author: Natasha Sullivan
date: 2013-07-30 05:46:33.492000000

Patch Set 2:

It still fails for me:

    [junit] Testcase: testUpdateBucket took 30.032 sec
    [junit] 	Caused an ERROR
    [junit] Http Error: 500 Reason: Internal Server Error Details: No reason given
    [junit] java.lang.RuntimeException: Http Error: 500 Reason: Internal Server Error Details: No reason given
    [junit] 	at com.couchbase.client.ClusterManager.checkError(ClusterManager.java:353)
    [junit] 	at com.couchbase.client.ClusterManager.deleteBucket(ClusterManager.java:178)
    [junit] 	at com.couchbase.client.ClusterManagerTest.deleteAllBuckets(ClusterManagerTest.java:90)
    [junit] 	at com.couchbase.client.ClusterManagerTest.tearDown(ClusterManagerTest.java:62)
    [junit] 

the other tests pass normally.

-------------------------------------
author: Andreas Short
date: 2013-07-30 05:54:58.816000000

Patch Set 2:

There should be something in the log at the server for any error 500.

-------------------------------------
author: Natasha Sullivan
date: 2013-07-30 06:03:04.072000000

Patch Set 2:

there seems to be some variance because it passed for me now, without changing the code. But I see lots of this in the server log (ui):

Port server moxi on node xxx@xxx.xxx exited with status 0. Restarting. Messages: 2013-07-30 08:01:35: (cproxy_config.c.317) env: MOXI_SASL_PLAIN_USR (13)
2013-07-30 08:01:35: (cproxy_config.c.326) env: MOXI_SASL_PLAIN_PWD (8)
2013-07-30 08:01:37: (agent_config.c.705) ERROR: bad JSON configuration from http://127.0.0.1:8091/pools/default/saslBucketsStreaming: Empty serverList ({
"name":	"bucket1",
"nodeLocator":	"vbucket",
"saslPassword":	"",
"nodes":	[],
"vBucketServerMap":	{
"hashAlgorithm":	"CRC",
"numReplicas":	0,
"serverList":	[],
"vBucketMap":	[]
}
})
2013-07-30 08:01:37: (agent_config.c.705) ERROR: bad JSON configuration from http://127.0.0.1:8091/pools/default/saslBucketsStreaming: Number of vBuckets must be a power of two > 0 and <= 65536 ({
"name":	"bucket1",
"nodeLocator":	"vbucket",
"saslPassword":	"",
"nodes":	[{
"hostname":	"127.0.0.1:8091",
"ports":	{
"direct":	11210,
"proxy":	11211
}
}],
"vBucketServerMap":	{
"hashAlgorithm":	"CRC",
"numReplicas":	0,
"serverList":	["127.0.0.1:11210"],
"vBucketMap":	[]
}
})
EOL on stdin. Exiting

-------------------------------------
