Skip to content

Conversation

@ShooterIT
Copy link
Member

@ShooterIT ShooterIT commented Nov 1, 2021

Since the loop in incrementalTrimReplicationBacklog checks the size of histlen, we cannot afford to update it only when the loop exits, this may cause deleting much more replication blocks, and replication backlog may be less than setting size.

introduce in #9166

thanks @sundb finding this bug.

@ShooterIT
Copy link
Member Author

@huangzhw i encounted this failure again, could you have a look at https://github.com/redis/redis/runs/4068817198?check_suite_focus=true#step:5:1863

@oranagra oranagra merged commit 526cbb5 into redis:unstable Nov 2, 2021
@oranagra
Copy link
Member

oranagra commented Nov 2, 2021

@ShooterIT i started discussing it in #9422 (i see if fails quite a lot recently, i wonder what changed..)

@ShooterIT ShooterIT deleted the fix-repl-histlen branch November 3, 2021 13:46
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.

2 participants