Github user tonysun83 commented on the issue:
https://github.com/apache/couchdb-fabric/pull/86
@nickva : this will also impact the replicator as well right?
https://github.com/apache/couchdb-couch-replicator/blob/master/src/couch_replicator_api_wrap.erl#L243-L251
This will kill the replicator if all three nodes are in mm, and the
streaming has to suddenly stop. So right now chttpd will throw a 500, and a
function_clause will occur in the code above.
This leads to the question what error code we want for chttpd to return.
I'm debating between 503 and 404. 503 is the correct code when we're in
maintenance mode or the nodes can't respond, but I wonder if there are
scenarios where workers in fabric keep getting killed by some other reason and
503 might be fitting. 404 seems like we're just masking the real issue at hand.
Thoughts?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---