remove or truncate bucket

17 views
Skip to first unread message

Рустам Нарманов

unread,
Dec 28, 2018, 5:36:43 AM12/28/18
to reverbrain
Всем привет

I need remove or truncate all data from bucket, this case not described in docs? 

And still interested in how to transfer data from one server to another by adding a node, I just need to overwrite the config?

can I overwrite the config without the one node and thus get it out of work?

Evgeniy Polyakov

unread,
Jan 4, 2019, 3:11:53 PM1/4/19
to Рустам Нарманов, reverbrain
Hi Rustam

28.12.2018, 13:36, "'Рустам Нарманов' via reverbrain" <rever...@googlegroups.com>:
> I need remove or truncate all data from bucket, this case not described in docs?

You can only remove data key-by-key, there is no bucket listing supported.

> And still interested in how to transfer data from one server to another by adding a node, I just need to overwrite the config?
>
> can I overwrite the config without the one node and thus get it out of work?

Sorry, I do not understand. What do you mean by transferring data by adding another node?
Do you want to create a replica or do you want to split data between 2 nodes in the same group?

Рустам Нарманов

unread,
Jan 9, 2019, 3:55:20 AM1/9/19
to reverbrain
I want to add a node, synchronize data, delete an old node


пятница, 4 января 2019 г., 23:11:53 UTC+3 пользователь Zbr написал:

Evgeniy Polyakov

unread,
Jan 10, 2019, 8:29:54 AM1/10/19
to Рустам Нарманов, reverbrain

09.01.2019, 11:55, "'Рустам Нарманов' via reverbrain" <rever...@googlegroups.com>:
> I want to add a node, synchronize data, delete an old node

The simplest case is just to copy data directories from one node to another, stop the old node and start the new one with the same config as the old node.
If you expect some data to be written into storage during this period, then I recommend running "dc" recovery against another untouched replica.

Reply all
Reply to author
Forward
0 new messages