Skip to content

Commit bb053f7

Browse files
ds/worker_impl.cpp: Reduce log level of inappropriate degraded messages
It now shows up regularly during resync, and can fill up a rather large amount of disk space. Change-Id: Ib444aebf9b9cc449944dcc660e6c78a59385094d Signed-off-by: ClusterTech CPFS Team <[email protected]>
1 parent 7dcbd03 commit bb053f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpfs/server/ds/worker_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class Worker : public BaseWorker, private MemberFimProcessor<Worker> {
381381
// resyncing (otherwise the MS should not be processing the truncate).
382382
if (!IsDSFailed(target_role, inode) ||
383383
(fim->type() == kTruncateDataFim && ds()->is_inode_resyncing(inode))) {
384-
LOG(informational, Degraded, "Inappropriate degraded msg, ", PVal(fim));
384+
LOG(debug, Degraded, "Inappropriate degraded msg, ", PVal(fim));
385385
FIM_PTR<NotDegradedFim> redirect_req =
386386
NotDegradedFim::MakePtr();
387387
(*redirect_req)->redirect_req = fim->req_id();

0 commit comments

Comments
 (0)