influx: all old data got deleted after applying retention policy
<p>I had data from last 7 days in influx. I applied retention policy and suddenly all data got deleted. i have single instance of influx running.</p>

<pre><code>CREATE RETENTION POLICY stats_30_day ON server_stats DURATION 30d REPLICATION 1

ALTER RETENTION POLICY stats_30_day ON server_stats DURATION 30d REPLICATION 1 default
</code></pre>

<p>Any idea what went wrong ?</p>