Redis reset issues
Issue #50
closed
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)
-
reporter -
reporter - changed status to closed
Closes
#50, resync redis with mongo at each scheduler startup→ <<cset 7f39ac7ac12f>>
- Log in to comment
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.