Skip to content

Conversation

@devanbenz
Copy link

@devanbenz devanbenz commented Dec 31, 2025

This PR is a "cherrypick" of the functionality from: #25312 influxdb2 regularly has single retention periods per bucket, where as influxdb1 can have many retention policies per database. There is some backwards compatibility built in to v2 that includes the DBRP mapping functionality: https://docs.influxdata.com/influxdb/v2/api-guide/influxdb-1x/dbrp/#when-creating-a-bucket

This PR will add functionality that allows for queries like

delete from rp2.new_measurement WHERE time > 0 to work, previously this query would delete the measurement from the default 'autogen' rp instead of 'rp2'

Closes #27040

This PR is a "cherrypick" of the functionality from: #25312
Albeit influxdb2 regularly has single retention periods per bucket, where as
influxdb1 can have many retention policies per database. There is some backwards compatibility
built in to v2 that includes the DBRP mapping functionality: https://docs.influxdata.com/influxdb/v2/api-guide/influxdb-1x/dbrp/#when-creating-a-bucket

This PR will add functionality that allows for queries like

`delete from rp2.new_measurement WHERE time > 0` to work, previously this query would
delete the measurement from the default 'autogen' rp instead of 'rp1'

Closes #27040
@philjb philjb added the area/2.x OSS 2.0 related issues and PRs label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/2.x OSS 2.0 related issues and PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants