Slackbot
03/22/2023, 1:02 PMJohn Kowtko
03/22/2023, 1:21 PM"granularitySpec": {
"type": "uniform",
"segmentGranularity": "DAY",
"queryGranularity": "DAY",
"rollup": true,
"intervals": ["2023-03-16T00:00:00.000Z/2023-03-17T00:00:00.000Z"],
},
There could be a locking issue if you leave out the intervals or put an empty set [] ... you should specify them both on the input side and the output side of the spec ... specifically this is the case where you are reindexing on a datasource that has actively running stream ingestion.Julian Reyes
03/22/2023, 1:23 PM"granularitySpec": {
"type": "uniform",
"segmentGranularity": "MONTH",
"queryGranularity": "DAY",
"rollup": true,
"intervals": [
"2023-02-15T00:00:00.000Z/2023-02-22T00:00:00.000Z"
]
},
• kinesis:
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "MONTH",
"queryGranularity": "DAY",
"rollup": true,
"intervals": []
},Julian Reyes
03/22/2023, 1:23 PM"context": {
"forceTimeChunkLock": true,
"useLineageBasedSegmentAllocation": true,
"priority" : 80
}John Kowtko
03/22/2023, 1:26 PMJohn Kowtko
03/22/2023, 1:28 PMJulian Reyes
03/22/2023, 2:05 PMJulian Reyes
03/22/2023, 2:05 PMJohn Kowtko
03/22/2023, 2:14 PMJulian Reyes
03/22/2023, 3:03 PMintermediatePersistPeriod is set to PT5MJulian Reyes
03/22/2023, 3:05 PM2023-02-15T00:00:00.000Z/2023-03-16T00:00:00.000Z , why would I need to stop real time ingestion?John Kowtko
03/22/2023, 3:13 PMtaskDuration and intermediateHandoffPeriod. (by default intermediateHandoffPeriod is set very high so that only taskDuration and maxRows/BytesSize are used as the threshold to build new segments ... so taskDuration may be the most relevant setting here.
Backfilling much older time chunks that real-time ingestion doesn't get near -- in that case there should be no contention at all between the two. So maybe the issue is that you are doing the rollup, which can reduce record count?Julian Reyes
03/22/2023, 3:19 PMintermediateHandoffPeriod is P2147483647D and taskDuration is set to PT3600SJulian Reyes
03/22/2023, 3:20 PMJohn Kowtko
03/22/2023, 3:29 PMJulian Reyes
03/22/2023, 3:57 PMJohn Kowtko
03/22/2023, 4:01 PMJulian Reyes
03/22/2023, 4:04 PMJulian Reyes
03/22/2023, 4:04 PMJohn Kowtko
03/23/2023, 12:46 AMKyle Larose
03/29/2023, 2:42 PMKyle Larose
03/29/2023, 2:42 PMKyle Larose
03/29/2023, 2:43 PMSELECT TIME_EXTRACT(__time, 'YEAR') AS yr, TIME_EXTRACT(__time, 'MONTH') AS mon, TIME_EXTRACT(__time, 'DAY') AS dt, COUNT(*)
FROM "datasource" where __time >= '2022-12-29' and __time < '2023-11-01'
GROUP BY TIME_EXTRACT(__time, 'DAY'), TIME_EXTRACT(__time, 'MONTH'), TIME_EXTRACT(__time, 'YEAR') ORDER BY yr, mon, dtKyle Larose
03/29/2023, 2:43 PMKyle Larose
03/29/2023, 2:44 PMSELECT TIME_EXTRACT(__time, 'DAY') AS dt, COUNT(*)
FROM "datasource" where __time >= '2022-12-29' and __time < '2023-11-01'
GROUP BY TIME_EXTRACT(__time, 'DAY') ORDER BY dtKyle Larose
03/29/2023, 2:44 PMJulian Reyes
03/29/2023, 2:50 PMwhere __time >= '2023-02-01' and __time < '2023-03-29' - the amount of data for the last couple of days in Feb (26th) missing, is minimal compared to beginning of March. And then, it seems data is being lost starting March 16thKyle Larose
03/29/2023, 2:52 PMJulian Reyes
03/29/2023, 2:56 PMJulian Reyes
03/29/2023, 2:57 PMKyle Larose
03/29/2023, 2:59 PMJulian Reyes
03/29/2023, 3:01 PMJulian Reyes
03/29/2023, 3:02 PMdropExisting to trueJulian Reyes
03/29/2023, 3:07 PMJohn Kowtko
03/29/2023, 3:25 PM