Influxdb: DROP MEASUREMENT drops from all retention policies

Created on 29 May 2019  Â·  4Comments  Â·  Source: influxdata/influxdb

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

  1. Create a database
  2. Create 2 retention policies
  3. Write one value to the same measurement name in both policies
  4. Try to delete the measurement from one RP and not the other

    • DROP MEASUREMENT rp1.cpu

__Expected behavior:__
Measurement and its data is only deleted from one retention policy

__Actual behavior:__
Parsing the query returns an error or, if the RP is left off of the statement, the measurement and its data is deleted from all retention policies.

1.x

Most helpful comment

Keep open

On Mon, Nov 25, 2019 at 3:53 PM stale[bot] notifications@github.com wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/14013?email_source=notifications&email_token=AABTDQYNWAPAVXOTIZ5C5XDQVQ3OFA5CNFSM4HQPCWL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFDYLLY#issuecomment-558335407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABTDQYUKMBQDXRJQN2M2GDQVQ3OFANCNFSM4HQPCWLQ
.

All 4 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Keep open

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Keep open

On Mon, Nov 25, 2019 at 3:53 PM stale[bot] notifications@github.com wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/14013?email_source=notifications&email_token=AABTDQYNWAPAVXOTIZ5C5XDQVQ3OFA5CNFSM4HQPCWL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFDYLLY#issuecomment-558335407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABTDQYUKMBQDXRJQN2M2GDQVQ3OFANCNFSM4HQPCWLQ
.

Was this page helpful?
0 / 5 - 0 ratings