You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/02/05 14:42:30 UTC

[GitHub] anantmf commented on a change in pull request #7000: Fix for getSingleObjectSummary, replacing keyCount with objectSummaries().size

anantmf commented on a change in pull request #7000: Fix for getSingleObjectSummary, replacing keyCount with objectSummaries().size
URL: https://github.com/apache/incubator-druid/pull/7000#discussion_r253891180
 
 

 ##########
 File path: extensions-core/s3-extensions/src/main/java/org/apache/druid/storage/s3/S3DataSegmentMover.java
 ##########
 @@ -174,7 +174,7 @@ private void selfCheckingMove(
               .withPrefix(s3Path)
               .withMaxKeys(1)
       );
-      if (listResult.getKeyCount() == 0) {
+      if (listResult.getObjectSummaries().size() == 0) {
 
 Review comment:
   Added comments.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org