michaelklishin/quartz-mongodb — pull request #9 by vladvoic (2012-12-18 15:42:10+00:00)
Title: Small fix related to previous change

My previous changed assumed that the expired locks are only tried to be removed by the same instance that created them. This is not true, so I just changed that locks are removed only based on their id and not based on the instance ID.

I think this is desired, as the instance id could easily change from one run to another, and the expired locks would be zombies as they are not matched by the new instance id.

Please feel free to suggest another approach to this if you feel this is not right.