Running influx delete
with only a small syntax error in the --predicate
flag deletes ALL data with timestamps between the specified --start
and --stop
times in the specified bucket.
This way I lost all the data in my bucket when I wanted to delete only certain data!
My proposed solution:
A syntax error in the--predicate
flag or an other part of the delete command should cancel the whole delete command and not just ignore the --predicate
flag. Ignoring only the --predicate
flag leads to this massive data loss.
I think this annoying bug can be fixed quite easily.