openGemini icon indicating copy to clipboard operation
openGemini copied to clipboard

to disable support special symbol colon(:) in database/rp/measurement name for streamfs build tags

Open shilinlee opened this issue 2 years ago • 2 comments

Describe the bug(Bug 描述)

Unsupported special symbol colon(:) in database/rp/measurement name.

To Reproduce(Bug 复现步骤)

For streamfs build tags

针对Go的build tags知识,可以自行学习其用途。

image
> 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

shilinlee avatar Feb 19 '24 08:02 shilinlee

禁用冒号的场景:

  1. streamfs
  2. windows

shilinlee avatar Feb 19 '24 09:02 shilinlee

I'll try it.

wtsclwq avatar Feb 19 '24 09:02 wtsclwq