tibrewalpratik17 commented on code in PR #13489:
URL: https://github.com/apache/pinot/pull/13489#discussion_r1663216060


##########
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/MinionTaskUtils.java:
##########
@@ -206,4 +183,66 @@ public static boolean 
extractMinionAllowDownloadFromServer(TableConfig tableConf
     }
     return defaultValue;
   }
+
+  /**
+   * Returns the validDocID bitmap from the server whose local segment crc 
matches both crc of ZK metadata and
+   * deepstore copy.
+   */
+  @Nullable
+  public static RoaringBitmap getValidDocIdFromServerMatchingCrc(String 
tableNameWithType, String segmentName,
+      String validDocIdsType, MinionContext minionContext, String 
originalSegmentCrcFromTaskGenerator,
+      String crcFromDeepStorageSegment) {

Review Comment:
   Hmm yeah good point! Though we should fix scenarios where SegmentZKMetadata 
and deepstore-copy-CRC are not same as a separate issue.



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