mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
ubik: Do not hide ReplayLog errors
For some reason, the ReplayLog code was printing encountered errors in the replay log as debug messages. Print them out as regular log messages instead, since these are errors that at least warrant visibility, if not more action. Change-Id: Ifba22278e2f5f33010b87eebfc484ccd3745f916 Reviewed-on: http://gerrit.openafs.org/2225 Tested-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
eec0d94f51
commit
4a1efd664b
@ -253,8 +253,8 @@ ReplayLog(register struct ubik_dbase *adbase)
|
||||
/* otherwise, skip over the data bytes, too */
|
||||
tpos += ntohl(buffer[2]) + 3 * sizeof(afs_int32);
|
||||
} else {
|
||||
ubik_dprint("corrupt log opcode (%d) at position %d\n", opcode,
|
||||
tpos);
|
||||
ubik_print("corrupt log opcode (%d) at position %d\n", opcode,
|
||||
tpos);
|
||||
break; /* corrupt log! */
|
||||
}
|
||||
}
|
||||
@ -341,8 +341,8 @@ ReplayLog(register struct ubik_dbase *adbase)
|
||||
len -= thisSize;
|
||||
}
|
||||
} else {
|
||||
ubik_dprint("corrupt log opcode (%d) at position %d\n",
|
||||
opcode, tpos);
|
||||
ubik_print("corrupt log opcode (%d) at position %d\n",
|
||||
opcode, tpos);
|
||||
break; /* corrupt log! */
|
||||
}
|
||||
}
|
||||
@ -352,7 +352,7 @@ ReplayLog(register struct ubik_dbase *adbase)
|
||||
if (code)
|
||||
return code;
|
||||
} else {
|
||||
ubik_dprint("Log read error on pass 2\n");
|
||||
ubik_print("Log read error on pass 2\n");
|
||||
return UBADLOG;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user