Deleting/Flushing buckets takes too long
I'm implementing a backend storage solution based on couchbase for our framework. The framework has a long suite of test-cases that, for set-up purposes, cleans up the backend storage for each test.
While couchbase is getting along very well with our framework so far, I'm having a really hard time with the set-up operations for our framework. This implies quick bucket deletion/flush/creation. Couchbase takes much time for these operations, and some RESTful API calls sometimes respond with error codes like 503 : Service Unavailable.
I even tried renaming a bucket, and create a new one, but renaming seems not possible, not at least RESTful API.
Is there any workaround to get quick deletions/flushes of buckets?
I'm using the Java SDK.