Retention policy based on database size

Is it possible to set a retention policy to delete old data based on the database size?

now,It’s impossible.

the retention policy is based on date

And would it be possible for Influxdb developers to implement this feature? We are very interested in using such a feature in our setup.