openGemini
openGemini copied to clipboard
to disable support special symbol colon(:) in database/rp/measurement name for streamfs build tags
Describe the bug(Bug 描述)
Unsupported special symbol colon(:) in database/rp/measurement name.
To Reproduce(Bug 复现步骤)
For streamfs build tags
针对Go的build tags知识,可以自行学习其用途。
> create database "db:demo"
> craete database db0
> CREATE RETENTION POLICY "during:1d" ON "db0" DURATION 1d REPLICATION 1
> insert mst:lot,tag=tag1 field=1
Expected behavior(期望结果)
> create database "db:demo" # error
> craete database db0 # success
> CREATE RETENTION POLICY "during:1d" ON "db0" DURATION 1d REPLICATION 1 # error
> insert mst:lot,tag=tag1 field=1 # error
Screenshots(屏幕截图)
No response
Logs(完整的错误日志)
No response
Additional context(其他的一些补充内容)
No response
禁用冒号的场景:
- streamfs
- windows
I'll try it.