Slackbot
03/28/2023, 5:51 PMDidip Kerabat
03/28/2023, 5:57 PMGian Merlino
03/28/2023, 5:57 PMKyle Larose
03/28/2023, 5:57 PMKyle Larose
03/28/2023, 5:57 PMKyle Larose
03/28/2023, 5:57 PMKyle Larose
03/28/2023, 5:58 PMGian Merlino
03/28/2023, 5:59 PMdruid_segments table of your metadata store to find pointers to them. they'd be there with used = false if they haven't been deleted by autokill (or manual kill)Kyle Larose
03/28/2023, 5:59 PMGian Merlino
03/28/2023, 6:00 PMdruid_segments for the used = false ones (they're the ones that kill will kill when run)Kyle Larose
03/28/2023, 6:00 PMKyle Larose
03/28/2023, 6:00 PMGian Merlino
03/28/2023, 6:02 PMweek and month compaction specs that you used for the December and January data? and what version you're on?Gian Merlino
03/28/2023, 6:02 PMGian Merlino
03/28/2023, 6:02 PMKyle Larose
03/28/2023, 6:03 PMSELECT
datasource,
dimensions,
"end",
is_available,
is_overshadowed,
is_published,
is_realtime,
last_compaction_state,
metrics,
num_replicas,
num_rows,
partition_num,
segment_id,
shard_spec,
size,
"start",
version
FROM sys.segmentsGian Merlino
03/28/2023, 6:03 PMsys.segments virtual metadata tableGian Merlino
03/28/2023, 6:04 PMdruid_segments table in your metadata store (mysql or postgresql usually)Kyle Larose
03/28/2023, 6:08 PMKyle Larose
03/28/2023, 6:08 PMKyle Larose
03/28/2023, 6:19 PM{"type": "compact", "dataSource": "my-datasource", "interval": "2023-03-18T00:00:00+00:00/2023-03-25T00:00:00+00:00", "segmentGranularity": "DAY"}
{"type": "compact", "dataSource": "my-datasource", "interval": "2023-02-18T00:00:00+00:00/2023-03-18T00:00:00+00:00", "segmentGranularity": "WEEK"}
"type": "compact", "dataSource": "my-datasource", "interval": "2022-01-24T00:00:00+00:00/2023-02-18T00:00:00+00:00", "segmentGranularity": "MONTH"}Kyle Larose
03/28/2023, 6:19 PMKyle Larose
03/28/2023, 6:19 PMVadim
03/29/2023, 12:26 AMinterval is not aligned to the segmentGranularity in the 2nd and 3rd one. This should be an error, it is a shame that it isn't and we should change that.Vadim
03/29/2023, 12:27 AMsegmentGranularity: WEEK is a poison (one you go WEEK you can never go MONTH or YEAR because weeks do not align with months and years)Vadim
03/29/2023, 12:28 AMcompact task) this would be an errorVadim
03/29/2023, 12:33 AMVadim
03/29/2023, 12:41 AMused then the data be queryable againVadim
03/29/2023, 12:42 AMcompact tasks throw an error to prevent confusionVadim
03/29/2023, 12:48 AMJulian Reyes
03/29/2023, 10:02 AMJulian Reyes
03/29/2023, 10:25 AM{
"type": "compact",
"id": "coordinator-issued_compact_geo_daily_cdmdddbk_2023-03-28T16:30:46.313Z",
"resource": {
"availabilityGroup": "coordinator-issued_compact_geo_daily_cdmdddbk_2023-03-28T16:30:46.313Z",
"requiredCapacity": 1
},
"dataSource": "geo_daily",
"ioConfig": {
"type": "compact",
"inputSpec": {
"type": "interval",
"interval": "2023-02-01T00:00:00.000Z/2023-03-01T00:00:00.000Z",
"sha256OfSortedSegmentIds": null
},
"dropExisting": false
},
"dimensionsSpec": null,
"transformSpec": null,
"metricsSpec": null,
"segmentGranularity": "MONTH",
"granularitySpec": {
"segmentGranularity": "MONTH",
"queryGranularity": null,
"rollup": null
},
...
}
however I have to say that I have re-indexed “missed” data yesterday so, eventually data will be lost again since that has happened 3 times already while I try to find the root cause.Kyle Larose
03/29/2023, 2:00 PMJulian Reyes
03/29/2023, 2:36 PMdruid_segments with used = false and the location to deep storage, so it looks like kill tasks are killing it. We do not run kill tasks thoKyle Larose
03/29/2023, 2:37 PMJulian Reyes
03/29/2023, 2:41 PMKyle Larose
03/29/2023, 2:42 PMJulian Reyes
03/29/2023, 2:43 PMKyle Larose
03/29/2023, 2:44 PMKyle Larose
03/29/2023, 3:26 PMVadim
03/29/2023, 7:26 PMT00:00:00 in them!Vadim
03/29/2023, 7:26 PMVadim
03/29/2023, 7:27 PM/T00:00:00.+T00:00:00/Vadim
03/29/2023, 7:28 PMKyle Larose
03/29/2023, 7:29 PMVadim
03/29/2023, 7:32 PMVadim
03/29/2023, 7:32 PMDidip Kerabat
03/29/2023, 9:27 PMGian Merlino
04/20/2023, 5:49 AM