sync_exchange should include txid on each doc
Bug #1006882 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB |
Fix Released
|
High
|
Eric Casteleijn |
Bug Description
split out of bug #999574
For each document transmitted, we should include the replica transaction_id along with the replica_generation. This is what will then end up passed to put_doc_if_newer (see bug #1006878).
This is a network visible api change, so needs to happen before internal release.
Related branches
lp:~thisfred/u1db/txid_in_sync_exchange
- Samuele Pedroni: Approve
- Eric Casteleijn (community): Approve
-
Diff: 1339 lines (+305/-182)14 files modifiedinclude/u1db/u1db.h (+2/-1)
include/u1db/u1db_internal.h (+10/-5)
src/u1db_http_sync_target.c (+33/-20)
src/u1db_sync_target.c (+60/-33)
u1db/__init__.py (+4/-4)
u1db/remote/http_app.py (+4/-4)
u1db/remote/http_target.py (+3/-3)
u1db/sync.py (+21/-16)
u1db/tests/c_backend_wrapper.pyx (+44/-20)
u1db/tests/test_backends.py (+1/-1)
u1db/tests/test_c_backend.py (+19/-14)
u1db/tests/test_http_app.py (+14/-8)
u1db/tests/test_remote_sync_target.py (+44/-22)
u1db/tests/test_sync.py (+46/-31)
Changed in u1db: | |
assignee: | nobody → Eric Casteleijn (thisfred) |
status: | Confirmed → In Progress |
Changed in u1db: | |
status: | In Progress → Fix Committed |
Changed in u1db: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.