Aditya Verma
01/01/2025, 9:17 PM"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 */5 * ? * *",
"bufferTimePeriod": "1h",
"invalidRecordsThresholdPercent": "30",
"invalidRecordsThresholdCount": "100000",
"tableMaxNumTasks": "100",
"validDocIdsType": "SNAPSHOT"
}
}
},
now this will trigger the cron job eevry 5 mins ,
first question . How can I check the cron job is triggered or not ?
and secondly if I have updated the table config after creation of my segments will this still take place effectively . or should I just rebuild the segments?Chaitanya Deepthi Chadalavada
01/02/2025, 1:25 AMAditya Verma
01/02/2025, 5:09 AMAditya Verma
01/02/2025, 5:10 AMAditya Verma
01/02/2025, 5:12 AMXiang Fu
Xiang Fu
Aditya Verma
01/02/2025, 7:56 AMAditya Verma
01/02/2025, 7:56 AMXiang Fu
Aditya Verma
01/02/2025, 8:30 AMcurl -X GET "http://localhost:9000/segments/game_user_stream_REALTIME/metadata"Aditya Verma
01/02/2025, 8:30 AMAditya Verma
01/02/2025, 8:30 AMAditya Verma
01/02/2025, 8:30 AMAditya Verma
01/02/2025, 8:31 AMAditya Verma
01/02/2025, 8:31 AM"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 */5 * ? * *",
"bufferTimePeriod": "5m",
"invalidRecordsThresholdPercent": "1",
"invalidRecordsThresholdCount": "1",
"tableMaxNumTasks": "1",
"validDocIdsType": "SNAPSHOT"
}
}
}
totalDocs = 19377173
numDocsScanned = 18095607
totalDocs-numDocsScanned = 12,81,566
so around 1 million records are duplicate and i am setting
"invalidRecordsThresholdPercent": "1",
"invalidRecordsThresholdCount": "1",
so we could reach minimum threshold . and buffer and scehdule time 5 minutes but still nothing has happened (edited)Xiang Fu
bufferTimePeriod to 0dAditya Verma
01/03/2025, 2:24 PMXiang Fu
"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 */5 * ? * *",
"bufferTimePeriod": "0d",
"invalidRecordsThresholdPercent": "1",
"invalidRecordsThresholdCount": "1",
"tableMaxNumTasks": "1",
"validDocIdsType": "SNAPSHOT"
}
}
}Xiang Fu
UpsertCompactionTask to run with adhoc scheduleXiang Fu
Aditya Verma
01/03/2025, 2:27 PM