krishan1390 commented on code in PR #17191:
URL: https://github.com/apache/pinot/pull/17191#discussion_r2588939642
##########
pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/SegmentCreator.java:
##########
@@ -106,4 +107,17 @@ default void indexColumn(String columnName, @Nullable
int[] sortedDocIds, IndexS
*/
void seal()
throws ConfigurationException, IOException;
+
+ String getSegmentName();
+
+ /**
+ * Finalize the segment with all post-creation operations including sealing,
+ * format conversion, index building, and metadata persistence.
+ *
+ * @param instanceType Instance type for metrics tracking (nullable)
+ * @return Final segment directory
+ * @throws Exception If finalization fails
+ */
+ File finalizeSegment(@Nullable InstanceType instanceType)
Review Comment:
https://github.com/apache/pinot/pull/17321/commits/286b3d16268ef37308e581ee0408deb1882f73b7
is a draft commit of changes required to remove instanceType. Will complete as
a followup
--
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]