tcc rename

This commit is contained in:
hdt3213
2022-04-10 16:29:49 +08:00
parent 37ef7d8a34
commit 374606f6f1
10 changed files with 247 additions and 58 deletions

View File

@@ -160,7 +160,7 @@ func makeArgs(cmd string, args ...string) [][]byte {
return result
}
// return peer -> writeKeys
// return node -> writeKeys
func (cluster *Cluster) groupBy(keys []string) map[string][]string {
result := make(map[string][]string)
for _, key := range keys {