Disable chart obsoletion code for archived chart creation. (#10231)
Markos Fountoulakis committed
Nov 12, 2020 at 11:18 UTC
17ba3873b667a0696a1ddad1f2b1fe9b0a86cc5e
1 file changed
+2
-1
database/rrdset.c
+2
-1
@@ -951,7 +951,8 @@ RRDSET *rrdset_create_custom(
951
}
952
#endif
953
954
- rrdhost_cleanup_obsolete_charts(host);
954
+ if (!is_archived)
955
+ rrdhost_cleanup_obsolete_charts(host);
956
957
rrdhost_unlock(host);
958
#ifdef ENABLE_ACLK