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

dbutil: Improve migrate cmd. #1667

Merged
merged 1 commit into from Aug 1, 2022
Merged

dbutil: Improve migrate cmd. #1667

merged 1 commit into from Aug 1, 2022

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Aug 1, 2022

This commit updates the politeiawww_dbutil command to only read a single
user into memory at a time. It was previously reading all users into
memory and then performing the migration. It also adds in some
additional validation to ensure that an incorrect paywall address index
is not being migrated over.

This commit updates the politeiawww_dbutil command to only read a single
user into memory at a time. It was previously reading all users into
memory and then performing the migration. It also adds in some
additional validation to ensure that an incorrect paywall address index
is not being migrated over.
@lukebp lukebp merged commit cba058e into decred:master Aug 1, 2022
@lukebp lukebp deleted the dbutil branch August 12, 2022 15:01
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