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

replace snapshot manager multistore with new one after DBSync #229

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Apr 26, 2023

Describe your changes and provide context

Snapshot manager is initialized with the old multistore which is closed when DBSync finishes. We need to replace the multistore with the new one after DBSync so that snapshot manager can continue to work.

SetMultiStore should be safe to call in ReloadDB since no snapshotting would be taking place during the call.

Testing performed to validate your change

loadtest cluster

@codchen codchen requested a review from yzang2019 April 26, 2023 05:51
@codchen codchen merged commit 355f18b into main Apr 26, 2023
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.

2 participants