ssdb icon indicating copy to clipboard operation
ssdb copied to clipboard

Can not perform flushdb

Open bvqbao opened this issue 7 years ago • 4 comments

Hi,

I installed ssdb 1.9.4 on my Macbook Pro and tried out some 'set' commands, and they worked well. I would like to delete all the data, so I performed 'flushdb' command, but it cannot be completed (It just wait like forever):

flushdb? yes Begin to flushdb...

Any suggestions?

Thanks, Bao Bui

bvqbao avatar Aug 05 '17 09:08 bvqbao

flushdb kv/hash/list,... work well but flushdb without the type parameter has the above problem.

bvqbao avatar Aug 05 '17 17:08 bvqbao

flushdb may run for an unwilling long time when there is huge data. You can stop ssdb-server and manually delete data and meta folders then start ssdb-server, it truncates the database as flushdb does.

ideawu avatar Aug 07 '17 09:08 ideawu

Thanks for the info.

However, there is just one or two kv items. Even with a fresh install of ssdb (there is no data), the problem still exists. I think I experienced a bug with flushdb (without type parameter)...

Anyway, I just delete data and meta folders then.

bvqbao avatar Aug 07 '17 10:08 bvqbao

I meet this problem too , ssdb version is 1.9.4, flushdb command stucks forever.

feifei435 avatar Jul 13 '18 04:07 feifei435