[MB-7709] Deleting an recreating buckets can be painful through the rest api Created: 09/Feb/13  Updated: 03/Apr/14  Resolved: 08/Apr/13

Status: Closed
Project: Couchbase Server
Component/s: couchbase-bucket, ns_server
Affects Version/s: 2.0
Fix Version/s: 3.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Mike Wiederhold Assignee: Aleksey Kondratenko
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks MB-7745 Windows installation sometimes exhaus... Closed

 Description   
Alk,

I know this is a multi-component issue, but can you do the initial triage for this bug. The problem is that when people use the REST API to delete and recreate a bucket they can get error message like this.

Http Error: 500 Reason: Internal Server Error Details: No reason given
Http Error: 503 Reason: Service Unavailable Details: No reason given

I know one issue here has to do with how fast we create vbucket files on the engine side, but in my opinion I think we can also do better on the ns_server side by providing some better error messages. The SDK side may also benefit too from having some good retry code. Can you add your thoughts to the comments section and assign this issue back to be when your done.

http://www.couchbase.com/forums/thread/java-sdk-1-1-1-avoid-runtime-exceptions-during-deletion

 Comments   
Comment by Maria McDuff (Inactive) [ 11/Oct/13 ]
closing as dupes.
Generated at Sat Aug 23 10:54:37 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.