[DRBD-cvs] svn commit by phil - r2495 - trunk/drbd - This small bug
in the state sanitising code caues us to
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Tue Oct 3 15:28:47 CEST 2006
Author: phil
Date: 2006-10-03 15:28:46 +0200 (Tue, 03 Oct 2006)
New Revision: 2495
Modified:
trunk/drbd/drbd_main.c
Log:
This small bug in the state sanitising code caues us to
reconnect after
"Split-Brain detected, dropping connection!".
=> That, of course, leads to an endless connect/disconnect
loop.
Fixed that.
Modified: trunk/drbd/drbd_main.c
===================================================================
--- trunk/drbd/drbd_main.c 2006-10-03 12:10:25 UTC (rev 2494)
+++ trunk/drbd/drbd_main.c 2006-10-03 13:28:46 UTC (rev 2495)
@@ -644,7 +644,7 @@
}
/* Dissalow Network errors to configure a device's network part */
- if( (ns.conn >= BrokenPipe && ns.conn <= NetworkFailure ) &&
+ if( (ns.conn >= Timeout && ns.conn <= TearDown ) &&
os.conn <= Disconnecting ) {
ns.conn = os.conn;
}
More information about the drbd-cvs
mailing list