Slackbot
04/18/2023, 10:42 AMAbhishek Agarwal
04/18/2023, 10:59 AMCaner Kürtür
04/18/2023, 11:01 AMCaner Kürtür
04/18/2023, 11:02 AMCaner Kürtür
04/18/2023, 11:02 AMAbhishek Agarwal
04/18/2023, 11:02 AMAbhishek Agarwal
04/18/2023, 11:02 AMCaner Kürtür
04/18/2023, 11:03 AMAbhishek Agarwal
04/18/2023, 11:03 AMCaner Kürtür
04/18/2023, 11:04 AMCaner Kürtür
04/18/2023, 11:10 AMAbhishek Agarwal
04/18/2023, 4:12 PMSergio Ferragut
04/18/2023, 5:37 PM[
{
"type":"dropBeforeByPeriod",
"period":"P4M",
"tieredReplicants":{
"hot":2,
"_default_tier":2
},
},
{ "type":"loadForever" }
]
That said, the rule seem a bit odd. It will process the first rule that matches each segment in consideration and processes the rules in order. If you are trying to only hold 4 months of data, a more straightforward set of rules would look like:
[
{
"type":"loadByPeriod",
"period":"P4M",
"tieredReplicants":{
"hot":2,
"_default_tier":2
},
},
{ "type":"dropForever" }
]
In this way, newly ingested segments with new timestamps will have 2 copies in hot and 2 copies in __default_tier._ When the segments age is more than 4 months, the segments will be dropped.Caner Kürtür
04/19/2023, 9:00 AMCaner Kürtür
04/19/2023, 9:01 AMCaner Kürtür
04/19/2023, 9:01 AMCaner Kürtür
04/19/2023, 9:02 AMGian Merlino
04/20/2023, 6:31 AMGian Merlino
04/20/2023, 6:31 AMGian Merlino
04/20/2023, 6:33 AMdruid_rules table in your metadata store, as well, to see what's in there and verify it makes senseAbhishek Agarwal
05/01/2023, 6:23 AMnull payload. do you see something like that in your druid_rules table in the metadata store?Abhishek Agarwal
05/01/2023, 6:24 AM