nickva commented on issue #506: replication to non-existent target db never 
updates _replicator doc with state
URL: https://github.com/apache/couchdb/issues/506#issuecomment-299050952
 
 
   @wohali 
   
   Thanks for taking a look!
   
   By default scheduling replicator does not update replication documents with 
transient states such as "triggered", "crashing", "error". This is one of the 
improvements and it is what allows it to run more replication jobs (since they 
don't write to disk as much).
   
   To observe the state of the replications created in by that document, try to 
do one of these things (or both):
   
   1) Query `http://127.0.0.1:15984/_scheduler/docs` endpoint. You'd get all 
the replication documents there. Or query the specific document. 
`http://127.0.0.1:15984/_scheduler/docs/foo_error_rep`
   
   2) Enable compatibility mode `[replicator] update_docs = True` then  
replicator will behave very similarly to the old one and you should see error 
or triggered there. And you can still query document as before.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to