Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOTDB-3184][IOTDB-3206]Delete timeseries #6055

Closed

Conversation

MarcosZyk
Copy link
Contributor

@MarcosZyk MarcosZyk commented May 27, 2022

Description

Implement DeleteTimeseries

Three stage

  1. Invalidate cache
  2. Delete data
  3. Delete timeseries

The stage 1 and 2 are executed in DeleteTimeseriesDriver during analyzing DeleteTimeseriesStatement.
All the 3 QueryExection are write.

Implement Blacklist Mechanism

To address the concurrent issue of write and delete.

Test Result Screenshot

1d1c

raw timeseries

image

delete single timeseries

image

delete batch timeseries accross sg

image

@xingtanzjr
Copy link
Contributor

Nice done

@MarcosZyk MarcosZyk marked this pull request as draft May 31, 2022 06:40
@HTHou HTHou closed this Sep 22, 2022
@MarcosZyk MarcosZyk deleted the three_stage_delete_timeseries branch November 19, 2022 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants