Skip to content

Commit

Permalink
release v1.6.22
Browse files Browse the repository at this point in the history
  • Loading branch information
vinllen committed Nov 25, 2019
1 parent 3769770 commit 1c56a33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2019-11-25 Alibaba Cloud.
* VERSION: 1.6.22
* BUGFIX: solve MOVED error when key is unicode encoding which is not
solved completed in v1.6.21.
* BUGFIX: update redis-go-cluster to solve the bug of \r\n. see #73 in
redis-full-check.
* BUGFIX: solve flushcount comparison: "flushcount=4097 > 4096" =>
"flushcount=4096 >= 4096".
* IMPROVE: add more log in redis-go-cluster.
2019-11-12 Alibaba Cloud.
* VERSION: 1.6.21
* BUGFIX: update redis-go-cluster to solve the MOVED error when target
Expand Down
6 changes: 3 additions & 3 deletions src/redis-shake/common/crc16.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ var crc16tab = [256]uint16{

func crc16(buf string) uint16 {
var crc uint16
for _, n := range buf {
crc = (crc << uint16(8)) ^ crc16tab[((crc>>uint16(8))^uint16(n))&0x00FF]
for i := 0; i < len(buf); i++ {
crc = (crc << uint16(8)) ^ crc16tab[((crc>>uint16(8))^uint16(buf[i]))&0x00FF]
}
return crc
}
}

0 comments on commit 1c56a33

Please sign in to comment.