Users are stored individually, not in a single collection

Users were stored in collection 'users', that collection was updated from default data and
after the whole update process. In case of failure the collection misses all changes. The
issue is fixed by storing all users individually by their user_id, email and launchpad_id.

Fixes bug 1242588

Change-Id: Ie3d57ec7f3f18c4259dbd34cc8f29be45b06e2cd
This commit is contained in:
Ilya Shakhat
2013-10-21 17:55:39 +04:00
parent ba72b61c16
commit dea1580edf
4 changed files with 60 additions and 42 deletions

View File

@@ -42,7 +42,7 @@ class RuntimeStorage(object):
def get_by_key(self, key):
pass
def set_by_key(self, key, head_commit_id):
def set_by_key(self, key, value):
pass
def get_update(self, pid):