Redis reset issues

Issue #50 closed
Olivier Sallou repo owner created an issue

in some cases, mongo and redis may be out of sync. At scheduler restart, if running jobs queue in redis is not empty, databases are not resynced. Workaround is:

  • stop scheduler and watchers
  • clean in redis god:jobs key
  • restart scheduler and watchers

Comments (2)

  1. Olivier Sallou reporter

    at restart, scheduler should clean the job queue in redis and resync it with expected jobs from mongo. Should care that scheduler is the master scheduler. Slave schedulers (for HA, in standby) should not try any resync.

  2. Log in to comment