I have one small question regarding reload of segm...
# troubleshooting
j
I have one small question regarding reload of segments I have realtime job that is consuming data then i paused the job and changed the schema and started the job again and i can see new data coming in with new schema when i am trying to run this command
Copy code
select $segment_name, count(*) from mot_food_order_REALTIME
group by $segment_name
i am getting this
Copy code
There are 1458 invalid segment/s. This usually means that they were created with an older schema. Please reload the table in order to refresh these segments to the new schema.
I triggered this api :
http://<>/segments/mot_food_order/reload?type=REALTIME&forceDownload=false
and checking the status on this api:
http://<>/segments/segmentReloadStatus/6fe6f6bc-4c54-47c9-bd23-95884d1846ed
i can see this output and
timeElapsedInMinutes
is increasing continuously, is it expected?
Copy code
{
  "metadata": {
    "jobId": "6fe6f6bc-4c54-47c9-bd23-95884d1846ed",
    "messageCount": "6",
    "submissionTimeMs": "1741509173884",
    "jobType": "RELOAD_SEGMENT",
    "tableName": "mot_food_order_REALTIME"
  },
  "successCount": 3240,
  "totalSegmentCount": 3240,
  "totalServersQueried": 6,
  "totalServerCallsFailed": 0,
  "timeElapsedInMinutes": 1095.2204833333333,
  "estimatedTimeRemainingInMinutes": 0
}
i have only
1622
segments don’t know how
totalSegmentCount
is coming 3240.
I am not using any transformation during ingestion but i haven’t added default value for new addd column but i am assuming pinot will add it based on data type @saurabh dubey can you suggest?
m
It might be counting replicas because they also need to be reloaded.