Merge lp:~jameinel/u1db/sync_skip_record_999592 into lp:u1db
Proposed by
John A Meinel
Status: | Merged |
---|---|
Merged at revision: | 284 |
Proposed branch: | lp:~jameinel/u1db/sync_skip_record_999592 |
Merge into: | lp:u1db |
Diff against target: |
107 lines (+29/-4) 5 files modified
src/u1db_sync_target.c (+8/-2) u1db/backends/inmemory.py (+2/-0) u1db/backends/sqlite_backend.py (+2/-0) u1db/sync.py (+2/-1) u1db/tests/test_sync.py (+15/-1) |
To merge this branch: | bzr merge lp:~jameinel/u1db/sync_skip_record_999592 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lucio Torre (community) | Approve | ||
Review via email: mp+105805@code.launchpad.net |
Description of the change
This handles the next stage of "don't talk to the server if you don't have to". The three steps today are GET, POST, PUT. Eric's branch handles that if GET says there is nothing to do, we don't POST or PUT. This adds a test that if after POST the remote server knows everything, we don't do a follow up PUT.
Interestingly, the C code already had the check, we just didn't have a test for it.
To post a comment you must log in.