Skip to content

Commit

Permalink
Remove the proxyPort parameter when creating a bucket
Browse files Browse the repository at this point in the history
The BucketManager doesn't allow creating port buckets anyways and
I found that including this parameter can cause the bucket creation
to sometimes fail with an error message saying a bucket already
exists on a the specified port. This issue omly seems to happen when
creating and recreating buckets quickly.

Change-Id: I89c322562d63b57c70996189e0e847805cec2b53
Reviewed-on: http://review.couchbase.org/76593
Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
  • Loading branch information
mikewied authored and Michael Wiederhold committed May 22, 2017
1 parent 4448769 commit 9281d59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clustermgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ func (cm *ClusterManager) InsertBucket(settings *BucketSettings) error {
posts.Add("authType", "sasl")
posts.Add("saslPassword", settings.Password)
posts.Add("ramQuotaMB", fmt.Sprintf("%d", settings.Quota))
posts.Add("proxyPort", "11210")

data := []byte(posts.Encode())
resp, err := cm.mgmtRequest("POST", "/pools/default/buckets", "application/x-www-form-urlencoded", bytes.NewReader(data))
Expand Down

0 comments on commit 9281d59

Please sign in to comment.