You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "Aneuuu (via GitHub)" <gi...@apache.org> on 2024/07/23 04:17:20 UTC

[D] Whether to support rolling back data to a specified time point [kvrocks]

GitHub user Aneuuu created a discussion: Whether to support rolling back data to a specified time point

Whether to support rolling back data to a specified time point

GitHub link: https://github.com/apache/kvrocks/discussions/2442

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
GitHub user mapleFU added a comment to the discussion: Whether to support rolling back data to a specified time point

Seems this require something like PITR

Anyway this requires capture the "binlog" and keeping the logs between version 🤔 If you want you can trying to duplicate the logs for cluster and add this feature

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10123510

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: Whether to support rolling back data to a specified time point

You can use BGSAVE to backup all your data.

Also you can set the BGSAVE scheduler `bgsave-cron` in config file to setup regular backup.

https://kvrocks.apache.org/docs/backup/

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10121796

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "Aneuuu (via GitHub)" <gi...@apache.org>.
GitHub user Aneuuu added a comment to the discussion: Whether to support rolling back data to a specified time point

i thisk snapshot just a time point, but between of two time point has data diff

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10122072

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: Whether to support rolling back data to a specified time point

No database allows you to (globally) backtrack to any time point without any cost.

It will come with huge storage expenses.

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10123462

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
GitHub user mapleFU edited a comment on the discussion: Whether to support rolling back data to a specified time point

Seems this require something like PITR

Anyway this requires capture the "binlog" and keeping the logs between version 🤔 If you want you can trying to duplicate the logs for cluster and add this feature

Beside, the bgsave is also important here since keeping the cluster log is very expansive, so some syntax need to be well-design for this scenerio.

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10123510

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: Whether to support rolling back data to a specified time point

No database allows you to backtrack to any time point without any cost.

It will come with huge storage expenses.

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10123462

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: Whether to support rolling back data to a specified time point

You can use BGSAVE to backup all your data.

https://kvrocks.apache.org/docs/backup/

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10121796

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: Whether to support rolling back data to a specified time point

No database allows you to backtrack to any time point without any cost.

It will come with huge expenses and is impractical.

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10123462

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "torwig (via GitHub)" <gi...@apache.org>.
GitHub user torwig added a comment to the discussion: Whether to support rolling back data to a specified time point

@Aneuuu Thank you for starting a discussion. Could you please elaborate on the topic? As far as I know, Redis supports making snapshots and restoring the state from the snapshots. Do you mean something else?

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10121714

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Whether to support rolling back data to a specified time point [kvrocks]

Posted by "Aneuuu (via GitHub)" <gi...@apache.org>.
GitHub user Aneuuu added a comment to the discussion: Whether to support rolling back data to a specified time point

I want to make up for the data differences caused by the cron

GitHub link: https://github.com/apache/kvrocks/discussions/2442#discussioncomment-10122065

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org