diff options
author | drebs <drebs@leap.se> | 2015-08-28 17:25:41 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-09-24 19:40:26 -0300 |
commit | fc5f4ae965ca48946af9f6982b2719562168131c (patch) | |
tree | 0058d64def1afa8c1b78b25cfb3bd35d13c3e3e7 /CHANGELOG | |
parent | 14300959a12e4908df7b00281d2590e627a47ba9 (diff) |
[feat] use one doc per remote replica in sync log
Before this change, we used a complicated update handler for storing the sync
state on the couchdb backend. That update handler was implemented as an
attempt to make couchdb take care of some validation for the update of the
sync log during the sync exchange, mainly to allow concurrent received
documents insertion during a sync.
Right now we rely on the remote sending one document at a time and do not
support concurrent insertions in the remote database backed by couch. Because
of that, the code removed by this commit was unneeded. And more: it was a
bottleneck of the sync process because we were writing to an unique file and
using unnecessary couch design docs processing for that. So this commit both
simplifies the storage of remote sync and removes a bottleneck of the sync
process.
Conflicts:
common/src/leap/soledad/common/couch.py
common/src/leap/soledad/common/tests/test_couch.py
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions