jmoiron/johnny-cache — pull request #26 by zachsnow (2013-07-09 23:10:19+00:00)
Title: Fix double delete by ignoring the problem.

As described in the issues 69 of the BitBucket clone (https://bitbucket.org/jmoiron/johnny-cache/issue/69/keyerror-on-some-transactions), there seem to be situations in which the same savepoint ID can be allocated more than once. This causes a `KeError` when committing a savepoint.

A simple (naive) solution is to ignore savepoints that have already been "processed". This matches the effect of some of the suggestions in the aforementioned thread. Not sure that it's the best approach but it is easy.