Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Reindex state_groups_state after pruning #1085

Merged
merged 3 commits into from
Sep 8, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

@NegativeMjark
Copy link
Contributor

Was this meant to come with a schema update for the depends_on?

for update in updates:
self._background_update_queue.append(update['update_name'])
if update["depends_on"] not in in_flight:
self._background_update_queue.append(update['update_name'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to add the pending update to the queue when its dependencies finish?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh wait this will probably just work when do_next_background_update is called once the dependency finishes.

@NegativeMjark
Copy link
Contributor

LGTM

@erikjohnston erikjohnston merged commit 023143f into develop Sep 8, 2016
@richvdh richvdh deleted the erikj/reindex_state_groups branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants