agree with Ravindra, 1. stop all automatic clean data in load/insert/compact/update/delete...
2. when clean files command clean in-progress or uncertain data, we can move them to data trash. it can prevent delete useful data by mistake, we already find this issue in some scenes. other cases(for example clean mark_for_delete/compacted segment) should not use the data trash folder, clean data directly. 3. no need data trash management, suggest keeping it simple. The clean file command should support empty trash immediately, it will be enough. ----- Best Regards David Cai -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/