You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An odd scenario where deleting a DB seems to work, but then when recreating it, tag issues are created. This is primarily seen on Telegraf writing on 1.33, and doesn't appear when writing line protocol from the CLI (on macOS). So needs investigation in several areas.
Steps to reproduce:
Create DB cpu
Run SHOW DATABASES (influxQL) > The cpu DB has been created
Delete DB cpu
Run SHOW DATABASES > The cpu DB has been deleted
Start Telegraf in v2 mode, attempt to write to cpu DB > Say's it's writing, but doesn't, and doesn't create DB or table
Start Telegraf in v1 mode, attempt to write to cpu DB > Fails on write, error says we're trying to add a tag that doesn't exist | Telegraf in v2 continues to say it's writing, but doesn't
Run SHOW DATABASES > The cpu DB has returned, with no data tables, but contains system tables
Expected behaviour:
When Telegraf says it's writing, it should create a new DB, a new table, write the data, and have no tag issues, since it's a fresh new database and table.
Actual behaviour:
InfluxDB is saying that there is an attempt to write a new tag, as if there is an old table it's trying to write to and can't, and therefore it doesn't write to a new table at all (but it does create the DB).
Seems like the system:
Gets a write request
Creates the new DB
Checks if there's a table
Discovers a table, can't write a tag to it
Complains
It should never discover a table. Perhaps due to soft delete?
Environment info:
System: Linux ARM Storage: Memory Telegraf: v1.33
Logs: error_message: "Detected a new tag 'label' in write. The tag set is immutable on first write to the table."
The text was updated successfully, but these errors were encountered:
An odd scenario where deleting a DB seems to work, but then when recreating it, tag issues are created. This is primarily seen on Telegraf writing on 1.33, and doesn't appear when writing line protocol from the CLI (on macOS). So needs investigation in several areas.
Steps to reproduce:
The cpu DB has been created
The cpu DB has been deleted
Say's it's writing, but doesn't, and doesn't create DB or table
Fails on write, error says we're trying to add a tag that doesn't exist | Telegraf in v2 continues to say it's writing, but doesn't
The cpu DB has returned, with no data tables, but contains system tables
Expected behaviour:
When Telegraf says it's writing, it should create a new DB, a new table, write the data, and have no tag issues, since it's a fresh new database and table.
Actual behaviour:
InfluxDB is saying that there is an attempt to write a new tag, as if there is an old table it's trying to write to and can't, and therefore it doesn't write to a new table at all (but it does create the DB).
Seems like the system:
It should never discover a table. Perhaps due to soft delete?
Environment info:
System: Linux ARM
Storage: Memory
Telegraf: v1.33
Logs:
error_message: "Detected a new tag 'label' in write. The tag set is immutable on first write to the table."
The text was updated successfully, but these errors were encountered: