Skip to content

Release3.2 redis 4.0.1 version - fixbug async slots coredump#1729

Open
evan-zxx wants to merge 1 commit intoCodisLabs:release3.2-redis-4.0.1from
evan-zxx:release3.2-redis-4.0.1-fixbug-async-slots-coredump
Open

Release3.2 redis 4.0.1 version - fixbug async slots coredump#1729
evan-zxx wants to merge 1 commit intoCodisLabs:release3.2-redis-4.0.1from
evan-zxx:release3.2-redis-4.0.1-fixbug-async-slots-coredump

Conversation

@evan-zxx
Copy link

--- base on <Release3.2 redis 4.0.1 > ---
fix coredump: slotsmgrtAsyncGenericCommand()
async slots migrate coredump with hashtag key

zskiplistNode *node = zslFirstInRange(it->hash_tags, &range);
while (node != NULL && node->score == (double)crc) {
node = node->level[0].forward;
keyCopy = sdsdup(node->ele);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L592 应该在整个 while 的最后才对?

@hiqsociety
Copy link

can you push your request here?
https://github.com/cloudxaas/codis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants