Fixed applying correction after initial load

Closes bug 1209135

Change-Id: Ic9a47f3463728c72c5cc9ab7d739df0f77722767
This commit is contained in:
Ilya Shakhat 2013-08-07 12:58:14 +04:00
parent b8283eda4e
commit b2222a0c2b

View File

@ -88,6 +88,7 @@ class MemcachedStorage(RuntimeStorage):
# insert record
record_id = self._get_record_count()
record['record_id'] = record_id
self.record_index[record['primary_key']] = record_id
LOG.debug('Insert new record %s' % record)
self.memcached.set(self._get_record_name(record_id), record)
self._set_record_count(record_id + 1)