@lzl82891314 There’s a lot of variables that play into when data actually gets deleted and it gets a little more complicated when you change the retention period of a bucket. Essentially it boils down to InfluxDB v2 expiring shard groups and not specific points. A shard group will only get expired when all the points in the group have expired. I’m guessing the old data points are stored in a shard group that was created before you changed the retention period and data in the shard group hasn’t fully expired.
For the nitty-gritty details, here’s some docs: