mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
STABLE14-volume-dont-artificially-untimeout-vlservers-20061218
FIXES 48959
remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"
(cherry picked from commit 91ce7a066d
)
This commit is contained in:
parent
85c463e289
commit
b3ed6e62e7
@ -682,14 +682,14 @@ afs_NewVolumeByName(char *aname, afs_int32 acell, int agood,
|
||||
} while (afs_Analyze(tconn, code, NULL, &treq, -1, /* no op code for this */
|
||||
SHARED_LOCK, tcell));
|
||||
|
||||
/* RT 48959 - unclear if this should really go */
|
||||
#if 0
|
||||
if (code) {
|
||||
/* If the client has yet to contact this cell and contact failed due
|
||||
* to network errors, mark the VLDB servers as back up.
|
||||
* That the client tried and failed can be determined from the
|
||||
* fact that there was a downtime incident, but CHasVolRef is not set.
|
||||
*/
|
||||
/* RT 48959 - unclear if this should really go */
|
||||
#if 0
|
||||
if (areq->networkError && !(tcell->states & CHasVolRef)) {
|
||||
int i;
|
||||
struct server *sp;
|
||||
@ -701,12 +701,12 @@ afs_NewVolumeByName(char *aname, afs_int32 acell, int agood,
|
||||
afs_MarkServerUpOrDown(sap, 0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
afs_CopyError(&treq, areq);
|
||||
osi_FreeLargeSpace(tbuffer);
|
||||
afs_PutCell(tcell, READ_LOCK);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* Check to see if this cell has not yet referenced a volume. If
|
||||
* it hasn't, it's just about to change its status, and we need to mark
|
||||
|
Loading…
Reference in New Issue
Block a user