You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by jx...@apache.org on 2022/02/07 23:07:20 UTC
[helix] branch master updated: remove log before write error message to ZNode (#1955)
This is an automated email from the ASF dual-hosted git repository.
jxue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
The following commit(s) were added to refs/heads/master by this push:
new a347d0f remove log before write error message to ZNode (#1955)
a347d0f is described below
commit a347d0f2316e3e4a03ca47ee16c493a94e336142
Author: xyuanlu <xy...@gmail.com>
AuthorDate: Mon Feb 7 15:07:16 2022 -0800
remove log before write error message to ZNode (#1955)
Remove message logging before writing ZNode.
---
helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java b/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
index 1d70f99..2159edd 100644
--- a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
+++ b/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
@@ -555,7 +555,6 @@ public class StatusUpdateUtil {
*/
void publishErrorRecord(ZNRecord record, String instanceName, String updateSubPath,
String updateKey, String sessionId, HelixDataAccessor accessor, boolean isController) {
- _logger.error("StatusUpdate Error record: {}", record);
if (!ERROR_LOG_TO_ZK_ENABLED) {
return;
}