-
Notifications
You must be signed in to change notification settings - Fork 10
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
Preserving the backlog of items created in the last year #2566
Comments
The queue will have just the ids on it
The reason for this is because pushmi_pullyu is expecting both the Each time pushmi_pullyu is started and fails the top item is removed from the queue. We cannot use the existing queue to reliably clear the backlog. In fact we must ensure it is empty before we start pushmi_pullyu. |
We do have a task that will preserve all jupiter/lib/tasks/jupiter.rake Lines 57 to 64 in 69afc32
But this made it a no op: e363d15#diff-18a0ef032f862c5c6e3b8c95e7326c439bb62039b96dd19b57dbdc786b8dbcad and the batch size logic is not working. So this needs some improvement, but could be useful. |
If we didn't want to push all items, we could use an existing scope: |
To delete the zset/queue
|
@henryzhang87 identified 2021-01-19 as the date of the last preservation event. We could run |
Confirmed to work with era-test |
Kenton was asking if once we release our pushmi_pullyu fix if the workflow will just work again or if there is anything we have to do to get it to preserve the backlog? I'm going to take a look at what is currently in the production queue, and if the format is correct. I'll also check how we might kick off proper jobs for anything that hasn't been preserved if that turns out to be the case.
Originally posted by @pgwillia in #2524 (comment)
The text was updated successfully, but these errors were encountered: