nickva opened a new pull request #1572: Switch rexi_sup restart strategy to 
rest_for_one
URL: https://github.com/apache/couchdb/pull/1572
 
 
   Previously, as described in issue #1571, `rexi_server_sup` supervisor could 
die
   and restart. After it restarts `rexi_server_mon` would not respan rexi 
servers
   as it wouldn't notice `rexi_server_sup` went away and come back. That would
   leave the cluster in a disabled state.
   
   To fix the issue, switch restart strategy to `rest_for_one`. In this case, 
if a
   child at the top dies it will restart all the children below it in the list.
   For example, if `rexi_server` dies, it will restart all the children. If
   `rexi_server_sup` dies, it will restart `rexi_server_mon`. And then on 
restart
   `rexi_server_mon` will properly spawn all the rexi servers.
   
   Same for the buffers, if `rexi_buffer_sup` dies, it will restart 
`rexi_buffer_mon`
   and on restart it will spawn buffers as expected.
   
   Fixes: #1571
   

----------------------------------------------------------------
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