From d1e6e375a117b84edf6038147e01487f1c5a96b6 Mon Sep 17 00:00:00 2001 From: HaHaJeff Date: Fri, 25 Oct 2024 15:44:18 +0000 Subject: [PATCH] [CP] reduce log level in case of switch replica leader frequently --- src/logservice/palf/palf_handle_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logservice/palf/palf_handle_impl.cpp b/src/logservice/palf/palf_handle_impl.cpp index 2861fcd67..211ef2144 100755 --- a/src/logservice/palf/palf_handle_impl.cpp +++ b/src/logservice/palf/palf_handle_impl.cpp @@ -3697,7 +3697,7 @@ int PalfHandleImpl::fetch_log_from_storage_(const common::ObAddr &server, } else if (true == need_check_prev_log && prev_log_info.lsn_ != prev_lsn) { if (is_dest_in_memberlist) { ret = OB_ERR_UNEXPECTED; - PALF_LOG(ERROR, "the LSN between each replica is not same, unexpected error!!!", K(ret), + PALF_LOG(WARN, "the LSN between each replica is not same, unexpected error!!!", K(ret), K_(palf_id), K(fetch_start_lsn), K(prev_log_info)); } else { PALF_LOG(INFO, "the LSN between leader and non paxos member is not same, do not fetch log",