Searched hist:220898 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/sbin/hastd/ | ||
H A D | hastd.c | diff 220898 Wed Apr 20 16:56:07 MDT 2011 pjd When we become primary, we connect to the remote and expect it to be in secondary role. It is possible that the remote node is primary, but only because there was a role change and it didn't finish cleaning up (unmounting file systems, etc.). If we detect such situation, wait for the remote node to switch the role to secondary before accepting I/Os. If we don't wait for it in that case, we will most likely cause split-brain. MFC after: 1 week |
H A D | primary.c | diff 220898 Wed Apr 20 16:56:07 MDT 2011 pjd When we become primary, we connect to the remote and expect it to be in secondary role. It is possible that the remote node is primary, but only because there was a role change and it didn't finish cleaning up (unmounting file systems, etc.). If we detect such situation, wait for the remote node to switch the role to secondary before accepting I/Os. If we don't wait for it in that case, we will most likely cause split-brain. MFC after: 1 week |
Completed in 58 milliseconds