Can the expiry_time of shards be modified?

Can the expiry_time of shards be modified?

I have inherited a database with 6 month old data including telegraph and chronograph.

The expiry for the shards is not for many months.
How can I get rid of them?

Hi @DG12,

You totally can!

Just edit the retention policy :blush:

Instructions are available here

Thank you for you response.
This is the active setting

SHOW RETENTION POLICIES
name    duration shardGroupDuration replicaN default
----    -------- ------------------ -------- -------
autogen 0s       168h0m0s           1        true

Apparently I just didn’t wait long enough for the shard deletion to run.
Suddenly, this morning all the old shards are gone!

Awesome. Compactions need to wait for the shard to go cold, so I’m glad it’s compacted now :grinning: