diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-09-19 14:25:30 -0300 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-10-13 16:15:00 -0400 |
commit | a1906cf4e808ddf64b6117334112ada830e5eb1a (patch) | |
tree | de302bba34c74334d76100a1d3251fc0bb233e58 /common/.gitattributes | |
parent | ba203923cd2479fafe662c8edae56763d8babb67 (diff) |
[feat] handle DatabaseDoesNotExist during sync
This error raises while getting info on target (or server) replica. On
previous implementation there was nothing to do here, but now that we
have db creation in place this error should be handled just like u1db
original implementation.
The reason is that db creation occurs during sync exchange, but before
this we try to ask for info and the code that checks for info raises an
error that will be used to signal the client that a database will be
created and that it must save the replica uid returned by server, after
sync exchange (where we send/fetch documents).
Diffstat (limited to 'common/.gitattributes')
0 files changed, 0 insertions, 0 deletions