You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/07/15 05:19:06 UTC

[GitHub] [ozone] errose28 commented on a change in pull request #2354: HDDS-5337. Apply container space check to Ratis factor one pipelines

errose28 commented on a change in pull request #2354:
URL: https://github.com/apache/ozone/pull/2354#discussion_r670140395



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/SCMCommonPlacementPolicy.java
##########
@@ -196,7 +200,7 @@ public boolean hasEnoughSpace(DatanodeDetails datanodeDetails,
 
     for (MetadataStorageReportProto reportProto
         : datanodeInfo.getMetadataStorageReports()) {
-      if (reportProto.getRemaining() > metaSizeRequired) {
+      if (reportProto.getRemaining() > metadataSizeRequired) {

Review comment:
       Thanks @ChenSammi I added the check and addressed some minor test failures.




-- 
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-unsubscribe@ozone.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org