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

A couple of fixes for additional indexes #3181

Merged
merged 3 commits into from
Oct 31, 2019

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Oct 30, 2019

Switching indexes on and off without reindexing can cause data inconsistencies. Not writing corresponding flags into db on reindex leads to a situation when new settings are simply ignored. This PR fixes both issues, see individual commits.

@UdjinM6 UdjinM6 added this to the 14.1 milestone Oct 30, 2019
Copy link

@nmarley nmarley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concept ACK

Is it possible to test this via Python tests?

@UdjinM6
Copy link
Author

UdjinM6 commented Oct 31, 2019

Is it possible to test this via Python tests?

Good idea, added.

Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link

@nmarley nmarley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 merged commit e078109 into dashpay:develop Oct 31, 2019
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this pull request Jan 22, 2020
* It should not be possible to change settings for additional indexes without reindex

* Should write db flags for additional indexes on reindex

* Add tests to make sure index settings can't be changed without reindex
@UdjinM6 UdjinM6 deleted the fixadditionalindexes branch November 26, 2020 13:26
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.

3 participants