flush_all Server Error
Mon, 08/06/2012 - 02:44
SERVER_ERROR flush_all not supported
why?
Thu, 08/16/2012 - 03:00
Hi Mike,
I am using a 3 server cluster. When i did flush_all, I got the above mentioned error first and then i enabled it on each of the servers using the above command. But still im getting the "SERVER_ERROR flush_all not supported" when i try to do flush_all through command line. Do i need to bounce the servers for the change to take effect? Please help.
Thu, 08/16/2012 - 23:18
I'm not sure what you mean by bounce all of the servers, but when you use the command I posted above you need to run the command separately against all of the servers.
For various reasons flush all being an asynchronous command doesn't work very well when you have persistence. Over time we found rare, but potentially bad bugs that were caused by flush all. As a result we have disabled the feature by default and recommended that users simply delete and recreate buckets instead of using flush all.
If you have a pre-existing application or you find it easier to use flush all then to delete and recreate a bucket then you can enable the feature.
./cbflushctl localhost:11210 set flushll_enabled true