From bd03654eaf7b4e182ae71701caf6e8a69ccb4b84 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Fri, 28 Dec 2012 10:20:09 -0800 Subject: [PATCH] Revert "Apply a bandaid for _dirties being stuck in memcached." This reverts commit a452422057fdcbeafe26fcbbff527bcc2be37d3d. This reverts commit bac38fe3a41cd09643b37bad947f3b3a70d5784d. --- r2/r2/lib/db/thing.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/r2/r2/lib/db/thing.py b/r2/r2/lib/db/thing.py index 4436496ac..e2a6bc60a 100644 --- a/r2/r2/lib/db/thing.py +++ b/r2/r2/lib/db/thing.py @@ -418,10 +418,6 @@ class DataThing(object): bases[i] = items_db([i]).values()[0] bases[i]._cache_myself() - if bases[i] and bases[i]._dirties: - g.log.error("Got _dirties back from the cache for %r. Cleaning up.", bases[i]) - bases[i]._dirties.clear() - bases[i]._cache_myself() if data: need = []