-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distributed zulip store: restore zulip from on-chain mirror #10
Comments
@leithaus w/ @steverosstalbot are taking the ball critical for the goal of decentralizing the chat |
When asked what he might like to see, @leithaus said taking one zulip service with its store on rchain, and then standing up a new zulip instance and backing it up from rchain would be a cool end-to-end demo of distributed storage for a chat service. |
GSJ writes:
As we discussed, chain_replica.js adds a postgres trigger to each table for op=INSERT, UPDATE, and DELETE and when the trigger fires, it deploys something of the form where OLD and NEW are the contents of the record before and after the operation. There is no OLD in the op=INSERT case (nor NEW in the DELETE case), so we use Nil in that case. An example from the README is:
To restore Zulip from rchain:
Details / limitations:
|
Why did you assign this to me? What do you expect me to do?
…On Sat, Jul 25, 2020, 12:47 PM Jim Whitescarver ***@***.***> wrote:
Assigned rchain-community/rv2020#24 <https://github.com/rchain-community/rv2020/issues/24> to
@dckc <https://github.com/dckc>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/rchain-community/rv2020/issues/24#event-3586447522>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABE3SRX535WAK3HH4ZTRUTR5MLBRANCNFSM4OA3V5LQ>
.
|
This is now nice-to-have |
@leithaus asked if the on-chain mirror is sufficient to stand up another zulip server with the same history, ready to continue.
This restore feature depends on getting the mirror / backup part to be reliable as well:
The text was updated successfully, but these errors were encountered: