influxdata / influxdata/influxdb

Consider enforcing no leading underscore in tag keys

Open
#11,961 9 comments 1 reaction 0 assignees View on GitHub
area/storage
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

I would like to consider ensuring that the storage engine does not accept any tag keys with leading underscores, essentially leaving the `_` prefix as a private key space for internal series key information.

With that as an invariant, we could make certain performance improvements around reading and parsing keys.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating storage-engine tag-key validation and the code that reads or parses series keys. Define the invariant and its compatibility implications before identifying tests that show user tag keys with leading underscores are rejected while internal series-key information remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.