From the 2.5 documentation, I see “Since buckets could be renamed and there is no way to determine the name for the default bucket for a cluster, the system attempts to connect non-SASL, non-proxied to a bucket named “default”. If it does not exist, Couchbase Server drops the connection.”
It sounds like there’s a way rename an existing bucket.
How do I do that?
I think this is a wording problem in an old revision of the documentation, and that what was meant is that at setup time the default bucket can be created with a different name than “default”.
In latest version of the REST API doc, on http://docs.couchbase.com/admin/admin/REST/rest-bucket-parameters.html you’ll see that
The bucket name cannot be changed via the REST API.
SDKs clearly don’t offer this either.
Thank you simonbasle! That makes sense.