Skip to content

Database unresponsive after DROP MEASUREMENT #6819

Closed
@lpalm

Description

Bug report

System info: Fedora release 22, InfluxDB version 0.13.0

Steps to reproduce:

  1. Drop a measurement via HTTP
  2. Try to write to the database before the DROP MEASUREMENT call returns

Expected behavior: The measurement gets deleted. Everything continues working.

Actual behavior: The HTTP request to delete the measurement often times out after 300 seconds. The entire database is unresponsive while deleting measurements.

We have a use case where measurements need to be periodically deleted. I understand this is not what InfluxDB is optimized for, but cleaning up data and updating measurements is both a legitimate use case and one that is listed in the public API (so presumably supported). How can I delete a measurement completely without rendering the database inoperable for several minutes? We can insert upwards of 100k points/second so not being able to insert for prolonged periods of time can cause significant, contiguous chunks of data to be lost.
The timing of the deletion here isn't super important, we're happy to do it over many hours if need be as long as the database doesn't stop responding to writes for several minutes at a time.

Thanks.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions