Output of “show databases” prints out all 6 of our databases.
Retention configuration is default (check-inteval and enabled are commented out in .conf file)
All databases are cleaned like expected according to retention period. Just this one doesn’t get trimmed as expected. Specific thing about this database is it contains about 1500 measurements.
that is because the shard was created when that retention policy was 52weeks , altering the shard duration will not alter the duraton of existing shards … only for new shards …
I did a little test and altering the retention policy didn’t alter an existing shard …
I’m pretty sure I must have changed it this way (so increased it by using alter). Maybe it can be increased but not decreased? Maybe it can be decreased only after it expires and drops past shard - only then it’s recreated according to how rules are set?
Is this behavior documented or is it a bug?
What can we do to lower the shard duration on existing database full of data?