debing.sun

Results 96 comments of debing.sun

~#8015 results in 15% performance degration.~ ~Since `server.repl_backlog` will be created even if there is no slave, all commands propagate will be wasted.~ ~ping @soloestoy~ Already fixed in #9166

@filipecosta90 There are other modifications that can have performance degradation, but they may be unavoidable. #9819 -~1.5% #9780 -~3 I need more work to check.

sds is binary-safe, it doesn't look like this code will be a problem, can you print them (old, new, append)?

Is `vlen` 1? If it is 12, it means the length is right.

Can you try again use following code: ```c void print_sds(sds s) { for (unsigned int i = 0; i < sdslen(s); i++) { printf("%02x|",((unsigned char*)s)[i]); } printf("\n"); } sds old...

@hpatro I suspect it's caused by `MAXLEN ~ 1000`, the faster we xadd, the faster we trim. I change `stream-node-max-bytes` config to avoid the side effects. config ``` stream-node-max-bytes 128...

the short answer is yes. please refer to https://github.com/redis/redis/issues/8351 and https://github.com/redis/redis/issues/8406

it's strange that signal SIGTERM is send by the user. are the signal and the crash at the same time?

@doxg what operation system and version are you using? and how did you install Redis?

@panzhongxian thanks, what about just using `__builtin_ctzll`?