-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Monitor sweep index #4694
Comments
@albertisfu, I spun this into a new issue, so we can discuss it here. I ran the tasks command just now and it actually had results:
Surprising, no? |
Are there any cron job instances running for the command? Is it possible that the code deployment restarted any of the cron job processes? and since you removed the Redis keys, it just started again. According to the running time ( The total number of documents targeted for re-indexing is 792,895, and it had made progress up to 390,000, so it should have finished by now. If not, we can cancel it by:
So when the cron job run again only one ES tasks runs. And it might be also required to clean up the Redis keys again. |
Well, this took me down a rabbit hole, but luckily I had some time. We didn't have timezone information set on this or any other of our cronjobs, so I just audited and tweaked them all. This means this won't run until tonight, so we'll have to check on it on Monday. I did clear out the redis stuff a second time though, so that should be good. |
Here are the logs from the latest execution on November 15th:
I've included timestamps to help us understand how long it takes to reindex records. It looks like the missing_error_index issue is resolved. However, the command was unable to complete due to issue #4698. |
We need to monitor the new sweep index. From our earlier PR:
Yes, we could also re-check the ES query to confirm that the reindexing task is running.
GET _tasks?detailed=true&actions=*reindex
Originally posted by @albertisfu in #4672 (comment)
The text was updated successfully, but these errors were encountered: