incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svilen ...@svilendobrev.com>
Subject Re: when replication hits wrong update_validation
Date Mon, 08 Jul 2013 20:11:09 GMT
> 
> > a) can i force it to copy all again? i'm not sure if that "since"
> > number is kept in touchdb-localy or on server too.
> 
> The checkpoint is kept on both sides to ensure consistency. I think
> you’ll need to delete and recreate one of the databases (either on
> device or CouchDB) to reset the replication. On iOS there is a
> “reset” property you can set in the replication spec to force
> starting over, but I don’t think that’s implemented on Android yet.

for the record, TDDatabase.setLastSequence("0", remoteUrl,..) - or any
number thats not the one on server - resets it. 

Mime
View raw message