Support "DROP DATABASE IF EXISTS"
This useful command would allow clients to idempotently drop a database. If IF EXISTS is present, no error would be returned if the database does not exist.
https://github.com/influxdb/influxdb/pull/3892 introduced CREATE DATABASE IF NOT EXISTS, so using that PR as a guide, along with investigating the current implementation of DROP DATABASE should make it relatively easy to implement this feature.
Hi @otoolep , can I have a try for this issue? I have create a pull request for it. If someone is already working on it then just ignore mine ya
@ch33hau - email me your address so we can send you a tshirt. philip at influxdb
@otoolep Thanks for your Monday early good news! =) I have sent my address to your email.