szetszwo commented on code in PR #1099:
URL: https://github.com/apache/ratis/pull/1099#discussion_r1613090168


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcClientProtocolService.java:
##########
@@ -170,6 +172,10 @@ RaftPeerId getId() {
 
   ServerServiceDefinition bindServiceWithZeroCopy() {
     ServerServiceDefinition orig = super.bindService();
+    if (!zeroCopyEnabled) {
+      LOG.info("Zero copy is disabled.");

Review Comment:
   Print also the id:
   ```java
         LOG.info("{}: Zero copy is disabled.", getId());
   ```



##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java:
##########
@@ -241,6 +244,10 @@ RaftPeerId getId() {
 
   ServerServiceDefinition bindServiceWithZeroCopy() {
     ServerServiceDefinition orig = super.bindService();
+    if (!zeroCopyEnabled) {
+      LOG.info("Zero copy is disabled.");

Review Comment:
   Print also the id:
   ```java
         LOG.info("{}: Zero copy is disabled.", getId());
   ```



-- 
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: issues-unsubscr...@ratis.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to