support changing "--hash-prefix" after fs created #6284
yangdong2398
started this conversation in
General
Replies: 3 comments
-
可以简单的这么区分,建议还是创新卷然后迁移,不然旧数据的热点问题也没法解决 |
Beta Was this translation helpful? Give feedback.
0 replies
-
感谢回复! |
Beta Was this translation helpful? Give feedback.
0 replies
-
理论上是可行的,管理上会有比较大的风险,比如某些机器上可能有旧版本没有包含这个补丁,它写入的数据就会错乱,后续修数据会比较麻烦。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What would you like to be added:
希望支持对存量fs修改写对象存储的命名策略
Why is this needed:
如果一个fs创建时候没有指定"--hash-prefix",在高qps写时候可能会对存储存储产生元数据热点,fs已经接入生成环境,不方便重新创建搬迁数据。
一个初步的想法是,改写func (s *rSlice) key(indx int),配置一个大于所有存量sliceid的值,该值之后的sliceid走新策略,旧数据不受影响,是否可行? 新旧objectname也不可能有交集
Beta Was this translation helpful? Give feedback.
All reactions