[MB-4562] deleting a bucket and recreating it does not delete it's views Created: 20/Dec/11  Updated: 01/Mar/12  Resolved: 27/Dec/11

Status: Closed
Project: Couchbase Server
Component/s: ns_server
Affects Version/s: 2.0-developer-preview-3
Fix Version/s: 2.0-developer-preview-4
Security Level: Public

Type: Bug Priority: Blocker
Reporter: Matt Ingenthron Assignee: Aleksey Kondratenko
Resolution: Incomplete Votes: 0
Labels: 2.0-dev-preview-4-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

As reported in the forums:

Since upgrading to DP3 we cannot delete the views within a bucket. If I delete a bucket and then create a new one with the same names all the views will still exist as per the delete bucket. This is making life difficult as we have many views maintained in json text files and if they have been updated then we cannot get the new versions into the database.


Comment by Aleksey Kondratenko [ 27/Dec/11 ]
I've tried official DP3 binary but could not reproduce your issue. Looks like we'll need more details on your case.
Comment by Farshid Ghods (Inactive) [ 27/Dec/11 ]
same here.

i have tried to reproduce this with 1M items and 3 views and weren't able tp reproduce/

will close the bug as incomplete and asking the user to provide the diags if possible
Comment by Farshid Ghods (Inactive) [ 27/Dec/11 ]
please provide the diags if possible
Comment by Farshid Ghods (Inactive) [ 27/Dec/11 ]
i tried deleting a bucket when it had
1- two views
2- when bucket was under 5k ops/sec json load
3- when both indexes were building ( 10% and 20% in progress )

so seems like deleting a bucket even when user is trying to get view results is also safe now.
Generated at Thu Dec 18 03:51:26 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.