rsrkpatwari1234 commented on code in PR #18174:
URL: https://github.com/apache/pinot/pull/18174#discussion_r3107407237
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/IndexLoadingConfig.java:
##########
@@ -119,6 +119,12 @@ public IndexLoadingConfig() {
this(null, null, null);
}
+ public IndexLoadingConfig copy() {
+ IndexLoadingConfig copy = new
IndexLoadingConfig(_instanceDataManagerConfig, _tableConfig, _schema);
+ copy.setTableDataDir(_tableDataDir);
+ return copy;
+ }
Review Comment:
Ack. Updated copy() so it duplicates all mutable state on IndexLoadingConfig
(including _readMode, tier, table data dir, index-config maps, dirty flag, etc.)
--
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]