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

(C2M) run C2M "continuously" against the least recently checked catalog entries #472

Closed
jmartin-sul opened this issue Jan 18, 2018 · 2 comments

Comments

@jmartin-sul
Copy link
Member

jmartin-sul commented Jan 18, 2018

questions:

  • what's the mechanism? cron job via whenever gem?
  • should we add a lock file (or similar, e.g. flag in the DB) indicating that C2M check_existence is already running, so that the cron jobs don't step on one another and pick up the same list of least-recently-checked objects if they run long?
@ndushay ndushay changed the title (C2M) run check_existence continuously against the least recently checked catalog entries (C2M) run C2M continuously against the least recently checked catalog entries Jan 25, 2018
@ndushay ndushay changed the title (C2M) run C2M continuously against the least recently checked catalog entries (C2M) run C2M "continuously" against the least recently checked catalog entries May 15, 2018
@ndushay
Copy link
Contributor

ndushay commented May 22, 2018

current plan, in #648, is to run every other week via cron (whenever).

after that, we may do any of the following:

  • run all the roots in parallell, effectively starting a job that runs the rake task for a single storage root ... for each of the storage roots. (one process per root)
    • determine the longest time needed for any storage root, and possibly run cron every XXX depending on that interval.
  • switch to using redis to kick off C2M for individual druids

@jmartin-sul
Copy link
Member Author

implemented per #648, then re-worked to use queues in #1062

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

No branches or pull requests

2 participants