reallyonthemove tous
10/27/2022, 6:52 PMMayank
Haitao Zhang
10/27/2022, 7:05 PMSeunghyun
10/27/2022, 7:07 PMSeunghyun
10/27/2022, 7:12 PMGET /segments/<tableName>?excludeReplacedSegments=true
from the swagger UI?Seunghyun
10/27/2022, 7:15 PMmaxNumRecordsPerSegment
config is too low, we can potentially increase the number of segments
3. We delete the original segment asynchronously. To see the active segments, we need to check the list of segments with excludeReplacedSegments=true
. The segments appear with the filter will be remaining and the rest of segments will get cleaned up eventuallyreallyonthemove tous
10/27/2022, 7:18 PM>>Can you provide the mergeRollupTask config?"task": { "taskTypeConfigsMap": { "MergeRollupTask": { "1d.bucketTimePeriod": "1d", "1d.bufferTimePeriod": "1d", "schedule": "0 * * * * ?" } } },
>>can you run GET /segments/<tableName>?excludeReplacedSegments=true from the swagger UI?
[
{
"OFFLINE": [
"merged_1d_1666896120028_0_videocollection_2022-09-19_2022-09-19_0",
"merged_1d_1666896060010_0_videocollection_2022-09-19_2022-09-19_0"
]
}
]
reallyonthemove tous
10/27/2022, 7:21 PMreallyonthemove tous
10/27/2022, 7:27 PM>The segments appear with the filter will be remaining and the rest of segments will get cleaned up eventuallyThe output seems to indicate that only merged segements are valid, so should I assume the exception is benign? When should I expect the invalid segments to be cleaned up?
Seunghyun
10/27/2022, 7:45 PMreallyonthemove tous
10/27/2022, 8:16 PMHaitao Zhang
10/27/2022, 8:30 PMit should be cleaned up in the next round of the scheduleTo correct it a little bit: the replaced segments will be kept for at least 24h, and then it will be deleted by the next run of the retention manager, which is a periodic task.
Haitao Zhang
10/27/2022, 8:30 PMHaitao Zhang
10/27/2022, 8:35 PM/tasks/{taskType}/{tableNameWithType}/debug
with verbosity = 1
? It will return all minion task details.
The exception you posted here shows that minion did some duplicated work, I want to know more details to help you to debug itHaitao Zhang
10/27/2022, 8:38 PMreallyonthemove tous
10/27/2022, 9:35 PMreallyonthemove tous
10/27/2022, 9:42 PMreallyonthemove tous
10/27/2022, 9:43 PMHaitao Zhang
10/27/2022, 9:52 PMGET /segments/<tableName>?excludeReplacedSegments=true
and GET /segments/<tableName>?excludeReplacedSegments=false
?reallyonthemove tous
10/27/2022, 9:54 PMTRUE
[
{
"OFFLINE": [
"merged_1d_1666906920054_0_videocollection_2022-09-19_2022-09-19_0",
"merged_1d_1666906920055_0_videocollection_2022-09-19_2022-09-19_0"
]
}
]
FALSE:
[
{
"OFFLINE": [
"home_ankshah_Oakgrove_pinotclustersetup_scripts____inputdata_objects_object1_json",
"home_ankshah_Oakgrove_pinotclustersetup_scripts____inputdata_objects_object2_json",
"home_ankshah_Oakgrove_pinotclustersetup_scripts____inputdata_objects_object3_json",
"merged_1d_1666906860069_0_videocollection_2022-09-19_2022-09-19_0",
"merged_1d_1666906920054_0_videocollection_2022-09-19_2022-09-19_0",
"merged_1d_1666906920055_0_videocollection_2022-09-19_2022-09-19_0"
]
}
]
Haitao Zhang
10/27/2022, 9:55 PMGET /tasks/{taskType}/{tableNameWithType}/metadata
?reallyonthemove tous
10/27/2022, 9:56 PM{
"id": "videocollection_OFFLINE",
"simpleFields": {
"watermarkMs_1d": "1663545600000"
},
"mapFields": {},
"listFields": {}
}
Haitao Zhang
10/27/2022, 10:05 PMreallyonthemove tous
10/27/2022, 10:08 PMreallyonthemove tous
10/27/2022, 10:09 PMHaitao Zhang
10/27/2022, 10:14 PMreallyonthemove tous
10/27/2022, 10:16 PMHaitao Zhang
10/27/2022, 10:18 PMHaitao Zhang
10/27/2022, 10:20 PMHaitao Zhang
10/27/2022, 10:23 PMreallyonthemove tous
10/27/2022, 10:26 PMHaitao Zhang
10/27/2022, 10:27 PMreallyonthemove tous
10/27/2022, 10:28 PMHaitao Zhang
10/27/2022, 10:29 PMalso, could you explain why its left with 2 segments?I need to check the logic
Haitao Zhang
10/27/2022, 10:29 PMreallyonthemove tous
10/27/2022, 10:33 PMHaitao Zhang
10/27/2022, 10:37 PMHaitao Zhang
10/27/2022, 10:39 PMreallyonthemove tous
10/27/2022, 10:39 PMreallyonthemove tous
10/27/2022, 10:39 PMHaitao Zhang
10/27/2022, 10:40 PMHaitao Zhang
10/27/2022, 10:40 PMreallyonthemove tous
10/27/2022, 10:42 PMHaitao Zhang
10/27/2022, 10:43 PMHaitao Zhang
10/27/2022, 10:43 PMreallyonthemove tous
10/28/2022, 4:28 PMHaitao Zhang
10/28/2022, 6:09 PM