This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new c1cd52be0a change log level of RatisConsensus(#8146)
c1cd52be0a is described below
commit c1cd52be0a1a9d19ea22db212f22e21b45165c07
Author: William Song <[email protected]>
AuthorDate: Fri Nov 25 20:08:35 2022 +0800
change log level of RatisConsensus(#8146)
---
.../main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java
b/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java
index 5c46bfd8eb..7a7f3556a3 100644
---
a/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java
+++
b/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java
@@ -673,17 +673,17 @@ class RatisConsensus implements IConsensus {
}
private ConsensusGenericResponse failed(ConsensusException e) {
- logger.error("{} request failed with exception {}", this, e);
+ logger.debug("{} request failed with exception {}", this, e);
return
ConsensusGenericResponse.newBuilder().setSuccess(false).setException(e).build();
}
private ConsensusWriteResponse failedWrite(ConsensusException e) {
- logger.error("{} write request failed with exception {}", this, e);
+ logger.debug("{} write request failed with exception {}", this, e);
return ConsensusWriteResponse.newBuilder().setException(e).build();
}
private ConsensusReadResponse failedRead(ConsensusException e) {
- logger.error("{} read request failed with exception {}", this, e);
+ logger.debug("{} read request failed with exception {}", this, e);
return ConsensusReadResponse.newBuilder().setException(e).build();
}