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/09/08 16:30:59 UTC

[GitHub] [couchdb] nickva opened a new issue, #4168: Handle read-only remounts (erofs) disk errors better

nickva opened a new issue, #4168:
URL: https://github.com/apache/couchdb/issues/4168

   On Linux when disks / filesystems fail they can be remounted as read-only. Disk writes through Erlang's file IO in that case returns an `{errors, erofs}` error. CouchDB doesn't handle a worker returning that error well, and returns 500 responses even if there is a quorum of other workers which are able to satisfy the request.
   
   In cases when quorum logic applies,  we should be able to tolerate a worker returning {erorr, erofs}` and perhaps treat it as a `rexi_EXIT maintenance_mode` error. 
   
   A few places to handle it:
     https://github.com/apache/couchdb/blob/main/src/fabric/src/fabric_doc_update.erl#L61-L114
     https://github.com/apache/couchdb/blob/main/src/fabric/src/fabric_rpc.erl#L155


-- 
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.apache.org

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