CouchDB replications not starting when new replication added -
when add replication couchdb, doesn't start. i.e. following doc after saving:
{ "_id": "xxx", "_rev": "yyy", "target": "https://user:pswd.domain/db", "source": "db", "create_target": true, "continuous": true, "user_ctx": { "name": "admin", "roles": [ "_admin" ] }, "owner": "admin" }
usually after creating replication, replication triggered , doc updated include:
"_replication_state": "triggered" or "error", "_replication_state_time": "some time", "_replication_id": "some id"
i using couchdb 1.6.0 on ubuntu 16.04. cause happen? replication working fine until hour ago when 80 of 140 or replications failed @ once.
there 60 replications seen 'triggered' in couch. _active_tasks endpoint shows 46.
as turned out our server experiencing high traffic super dodgy origins. causing replications timeout, , not allowing replications restart. nginx access logs seemed show repeated attempts @ fishing insecure php settings , open mysql databases
Comments
Post a Comment