Searched hist:219837 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/sbin/hastd/ | ||
H A D | hastd.c | diff 219837 Mon Mar 21 13:44:52 MDT 2011 pjd Before handling any events on descriptors check signals so we can update our info about worker processes if any of them was terminated in the meantime. This fixes the problem with 'hastctl status' running from a hook called on split-brain: 1. Secondary calls a hooks and terminates. 2. Hook asks for resource status via 'hastctl status'. 3. The main hastd handles the status request by sending it to the secondary worker who is already dead, but because signals weren't checked yet he doesn't know that and we get EPIPE. MFC after: 1 week |
Completed in 119 milliseconds