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

don't save index events for indexers in manual mode #190

Closed
wants to merge 1 commit into from

Conversation

bob2021
Copy link
Contributor

@bob2021 bob2021 commented Feb 27, 2017

This is part of a group of PRs containing the changes discussed in issue #152

If an indexer is in manual mode, there is no need to save an index event as it will never be processed - manual mode indexes can only be updated using a full reindex.

Index event data can grow very large (megabytes) for mass_action events. It is not always cleaned properly after processing and new data is often appended without deduplicating.

This PR prevents an index event from registering with an indexer if it is in manual mode. It also ensures that index data is cleaned during a partial 'full' reindex.

@tmotyl tmotyl changed the base branch from 1.9.2.4 to 1.9.3.x March 1, 2017 09:36
@tmotyl tmotyl changed the base branch from 1.9.3.x to 1.9.2.4 March 1, 2017 09:36
@bob2021 bob2021 closed this Mar 1, 2017
@LeeSaferite
Copy link
Contributor

@bob2021 Why did you close the PR?

@bob2021
Copy link
Contributor Author

bob2021 commented Mar 1, 2017

Sorry, I should have added a comment - since I split up the changes into individual PRs I've been less convinced that this one is actually that useful so I closed it while I review it.

@bob2021 bob2021 changed the title Ensure index events of type mass_action are cleaned don't save index events for indexers in manual mode Mar 2, 2017
@bob2021
Copy link
Contributor Author

bob2021 commented Mar 2, 2017

I tried to re-open this PR but couldn't as I had already force pushed a new version of the branch. New PR is #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants