suvodeep-pyne commented on code in PR #17234:
URL: https://github.com/apache/pinot/pull/17234#discussion_r2550466364
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/ReloadJobStatus.java:
##########
@@ -18,22 +18,26 @@
*/
package org.apache.pinot.segment.local.utils;
+import java.util.ArrayList;
+import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
+import org.apache.pinot.common.response.server.SegmentReloadFailureResponse;
/**
* Tracks status of a reload job.
- * Phase 1: Only tracks failure count.
*/
public class ReloadJobStatus {
private final String _jobId;
private final AtomicInteger _failureCount;
private final long _createdTimeMs;
+ private final List<SegmentReloadFailureResponse> _failedSegmentDetails;
public ReloadJobStatus(String jobId) {
_jobId = jobId;
_failureCount = new AtomicInteger(0);
_createdTimeMs = System.currentTimeMillis();
+ _failedSegmentDetails = new ArrayList<>();
Review Comment:
updated to an unmodifiable list
--
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]