You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/05/13 19:21:15 UTC

[GitHub] [couchdb] nickva commented on issue #4023: Replication job crashes

nickva commented on issue #4023:
URL: https://github.com/apache/couchdb/issues/4023#issuecomment-1126371484

   @tudordumitriu a replication worker is one of the 4 (by default) processes spawned by each replication job. They perform `GET /_revs_diff` requests on the target to get the missing revisions, then a `GET` with open_revs to the source to fetch all the missing revisions, then, finally, a ` POST /_bulk_docs` to the target to insert the docs. So it could be any of those requests which returned an invalid_json response.
   
   `invalid_json` can often mean that the connection is abruptly terminated, for example if a rate limit is reached or the connection times out, maybe max size is reached and the response it terminated and so on. It's hard to say which one of those or other error happened without extra log or information. Would you be able to get more logs form the servers, or ideally capture the request/response bodies?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org