szetszwo commented on code in PR #4572:
URL: https://github.com/apache/ozone/pull/4572#discussion_r1169116251


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConsts.java:
##########
@@ -373,6 +373,7 @@ private OzoneConsts() {
 
   // For Multipart upload
   public static final int OM_MULTIPART_MIN_SIZE = 5 * 1024 * 1024;
+  public static final int OM_MULTIPART_MAX_PART_NUMBER = 10000;

Review Comment:
   @xichen01 , I see.  This is the same O(n^2) problem we found in HDDS-8238 .  
We should fix it by changing the RocksDb table schema; see "3. Change the 
RocksDb table schema such as below:" in the first comment of HDDS-8238.
   
   Since this fix require enforcing `OM_MULTIPART_MAX_PART_NUMBER`, it is an 
incompatible change.  Are you interested in working on HDDS-8238?



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