influxdata / influxdata/influxdb

delete request hanging for infinite time

Open
#21,725 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

While running delete command it is getting hanged, I have only 7-8 measurements and none of measurement have more than 1500 records in it.
version:
CLI: Influx CLI 2.0.6 (git: 4db98b4) build_date: 2021-04-29T16:48:12Z
DB:Version 2.0.5 ('7c3ead)

Delete command : curl -X POST
'http://127.0.0.1:8086/api/v2/delete?bucket=intralogistics&org=greyorange'
-H 'authorization: Token hzCzxEPyoXUcnJOkGQDuYzlMIQZ06jUKP8De-HKSQU5hmgXAAWevPXuZcrduV9OTIl-8phT2-ZFyd-sqMOeLSA=='
-H 'content-type: application/json'
-d '{
"start":"2020-06-20T00:00:00.000000Z",
"stop":"2021-06-20T23:59:59.999999Z",
"predicate": "_measurement="service_request" AND external_service_request_id="order_234_20210618135243""
}'

I am at the default configuration so please let me know if I need to do set some configurations

[iostat.txt](https://github.com/influxdata/influxdb/files/6686683/iostat.txt)
[vars.txt](https://github.com/influxdata/influxdb/files/6686684/vars.txt)
[profiles.tar.gz](https://github.com/influxdata/influxdb/files/6686685/profiles.tar.gz)

Please help, it very urgent for me to fix.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the POST request against the InfluxDB delete endpoint using the command and date range in the issue. Inspect the attached iostat.txt, vars.txt, and profiles.tar.gz files for evidence of where the request is waiting. Done means identifying the cause of the indefinitely hanging delete and confirming that the request completes normally.

Written by the indexing model from the issue text.

Assessment

Domain
api, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.