# 240h retention policy but no data is dropped

**URL:** <https://community.influxdata.com/t/240h-retention-policy-but-no-data-is-dropped/6807>\
**Category:** Store\
**Tags:** time-series, datalifecycle, time, date\
**Created:** [September 28, 2018, 4:31pm UTC](https://community.influxdata.com/t/240h-retention-policy-but-no-data-is-dropped/6807 "2018-09-28T16:31:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laimaretto](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/laimaretto/32/2171_2.png) [@laimaretto](https://community.influxdata.com/u/laimaretto)\
**Post date:** [September 28, 2018, 4:31pm UTC](https://community.influxdata.com/t/240h-retention-policy-but-no-data-is-dropped/6807/1 "2018-09-28T16:31:10Z")

</div>

SO I have modified the `autogen` retention policy to `240h` and a `1h` shard-group-duration.

```
show retention policies
name duration shardGroupDuration replicaN default
---- -------- ------------------ -------- -------
autogen 240h0m0s 1h0m0s 1 true

```

However if I query for data beyond 10 days, I still do get data …

```
> select CPU from stats_CPU order by time asc limit 1
name: stats_CPU
time CPU
---- ---
2018-09-17T00:00:39Z 0.0852

> select CPU from stats_CPU order by time desc limit 1
name: stats_CPU
time CPU
---- ---
2018-09-28T16:32:22Z 0.1521

```

Why is this happening? What am I missing? Am I not understanding how this works?

I’m using influx 1.3.5.

Thanks!

Lucas
