neils-dev commented on code in PR #3297:
URL: https://github.com/apache/ozone/pull/3297#discussion_r852524785


##########
hadoop-hdds/common/src/main/resources/ozone-default.xml:
##########
@@ -3040,7 +3039,14 @@
       OM/SCM/DN/S3GATEWAY Server connection timeout in milliseconds.
     </description>
   </property>
-
+  <property>
+    <name>ozone.om.grpc.maximum.response.length</name>
+    <value>134217728</value>

Review Comment:
   Thanks @kerneltime for reviewing this and for your comments.
   This config defines the maximum message size limit that we send / receive 
over the gRPC channel.  
   The value was selected based on the max size defined for Hadoop RPC messages 
:`ipc.maximum.response.length` with default size 128 * 1024 * 1024.
   
   If a list keys message exceeds this maximum limit for the channel, then  it 
will not be processed and the RPC will fail with `RESOURCE_EXHAUSTED`.  The 
exception should be raised from the channel and propagated to the user client.  
 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to