ankye sheng

Results 6 comments of ankye sheng

use v2.4 for test, the same problem like this image 18187.png.png

hash规则是按 uid % 8 user := &model.User{ UID: utils.GenUID(), AppID: "aaaa", Account: "", Email: "", OpenID: fmt.Sprintf("%d", utils.GenUID()), UUID: fmt.Sprintf("%d", utils.GenUID()), Name: "name", Channel: "test", Avatar: "avatar", Password: fmt.Sprintf("%d", utils.GenUID()),...

可以了,但是这样上线后就不能动态修改长度了,只能换另外的hash算法了

最近在用kingshard,hash规则不能定义,用id就有问题了

![image](https://github.com/cocos/cocos-engine/assets/5154427/6bca6da5-4b88-454a-ba4f-b4b573a8dd74) The _safeSubstring function is also problematic when dealing with Composite emoji test case: 🐻👨‍👩‍👧‍👦一家人 ![image](https://github.com/cocos/cocos-engine/assets/5154427/bc4edb6d-45a9-4eb5-a33e-33c1614c5368)