]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-do-not-mark-servers-down-without-ping-20060216
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 17 Feb 2006 21:44:39 +0000 (21:44 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 17 Feb 2006 21:44:39 +0000 (21:44 +0000)
undo damage caused by an inadvertent pullup of code that caused all
servers to be marked down once every two hours.  They would remain
down for one CheckDownServersInterval after the first contact to the
cell.

src/WINNT/afsd/cm_server.c

index 055f0b749c2f109583f7cbe4e8d127d1fe640d78..7fc5a98f0bccf28e853bf74838d0bd0fdca436b2 100644 (file)
@@ -235,7 +235,7 @@ cm_server_t *cm_NewServer(struct sockaddr_in *socketp, int type, cm_cell_t *cell
     tsp->refCount = 1;
     lock_InitializeMutex(&tsp->mx, "cm_server_t mutex");
     tsp->addr = *socketp;
-    tsp->flags = CM_SERVERFLAG_DOWN;   /* assume down; ping will mark up if available */
+    tsp->flags = 0;    /* assume up until we attempt to contact it */
 
     cm_SetServerPrefs(tsp);