couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Traun Leyden <traun.ley...@gmail.com>
Subject Re: when replication hits wrong update_validation
Date Mon, 24 Mar 2014 23:19:44 GMT
@svilen:

This has been found and fixed in
https://github.com/couchbase/couchbase-lite-android/issues/23

Also if you need to continue the thread, respond on the github issue or via
https://groups.google.com/forum/?fromgroups#!forum/mobile-couchbase


On Tue, Jul 2, 2013 at 5:44 AM, svilen <az@svilendobrev.com> wrote:

> g'day
>
> so i had update_validation function with wrong code (using wrong
> var-name "doc" inside) and getting
> "
> Uncaught server error: {case_clause,
>     {[{<<"message">>,
>    <<"doc is not  defined">>
> ...
> "
>
> so touchdb (android) replication doing
>  POST /thedb/_bulk_docs
> got 500 "internal error"
>
> and no document has been copied.
>
> i've now fixed the server update_validator, but nothing is getting
> copied anymore - it seems that regardless of the above failure,
> replicator has moved the "since" number, and now thinks there's
> nothing to copy.
>
> so 2 questions:
> 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.
> b) how is this case handled in plain couchdb doing replication?
>
> ciao
> svilen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message