Skip to content
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

Add swaps_Info and reverse_swaps_info on restore #340

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

roeierez
Copy link
Member

We missed reconstructing the cached tables on restore. We only need to add initial entries and on next sync they will be updated to the current state.

@ok300 ok300 self-requested a review July 20, 2023 06:56
@ok300
Copy link
Contributor

ok300 commented Jul 20, 2023

LGTM.

This worked, but only when explicitly calling backup on both instances (the one where a swap was created and the one that is to be "synchronized" to).

The ongoing swap didn't sync after restarting the instances several times. It only worked with backup.

@roeierez
Copy link
Member Author

This is as expected, we don't sync periodically currently but only when the user calls backup and after restore.

@roeierez roeierez merged commit ee5731f into main Jul 20, 2023
2 checks passed
@erdemyerebasmaz erdemyerebasmaz deleted the sync-swaps-info-tables branch December 7, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants