JedisCluster flushDB() Alternative

393 views
Skip to first unread message

Dasun Nirmitha

unread,
Jan 26, 2016, 7:17:03 AM1/26/16
to Jedis
Hello,

I'm using Jedis v2.8.0 and I'd like to know an alternative to the flushDB() method in the JedisCluster class since it's deprecated now.
I need this for the purpose of removing all the records within the cluster.
Please help if anyone is aware of this :)

Thank You

Marcos Lilljedahl

unread,
Jan 26, 2016, 10:58:13 AM1/26/16
to Jedis

--
You received this message because you are subscribed to the Google Groups "Jedis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jedis_redis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcos Lilljedahl

unread,
Jan 26, 2016, 10:59:26 AM1/26/16
to Jedis

Dasun Nirmitha

unread,
Jan 27, 2016, 4:55:58 AM1/27/16
to Jedis
Hello Marcos,

From what I gathered, currently you'll have to flush the nodes one by one or wait until a better way is implemented by Jedis in a future release.
Hope I got it correct.

Thank you for your help :)
Reply all
Reply to author
Forward
0 new messages