lowka commented on code in PR #7481:
URL: https://github.com/apache/ignite-3/pull/7481#discussion_r2742119633
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java:
##########
@@ -377,6 +394,8 @@ public ClientInboundMessageHandler(
this.computeConnectionFunc = computeConnectionFunc;
this.queryTypeListener = queryTypeListener;
+
+ throttledLogger = Loggers.toThrottledLogger(LOG,
partitionOperationsExecutor);
Review Comment:
I have removed that executor.
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java:
##########
@@ -696,7 +705,36 @@ private void writeError(long requestId, int opCode,
Throwable err, ChannelHandle
}
}
- private void writeErrorCore(Throwable err, ClientMessagePacker packer) {
+ private void writeErrorCore(
+ Throwable err,
+ ClientMessagePacker packer,
+ long requestId,
+ ChannelHandlerContext ctx,
+ int opCode,
+ boolean isNotification,
+ boolean isHandshake
+ ) {
+ if (throttledLogger.isDebugEnabled() && shouldLogError(err)) {
Review Comment:
Thanks. Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]