Add tests to make sure that relative EXPIRE is propagated to replicas#8357
Merged
oranagra merged 4 commits intoredis:unstablefrom Jan 19, 2021
oranagra:expire_tests
Merged
Add tests to make sure that relative EXPIRE is propagated to replicas#8357oranagra merged 4 commits intoredis:unstablefrom oranagra:expire_tests
oranagra merged 4 commits intoredis:unstablefrom
oranagra:expire_tests
Conversation
Member
|
Hi @oranagra Actually, I ever wanted to always propagate absolute expire commands, but Salvatore said But could we have a way to only propagate absolute expire commands? For this big idea #4357 my team already implemented |
itamarhaber
reviewed
Jan 19, 2021
itamarhaber
previously approved these changes
Jan 19, 2021
Co-authored-by: Itamar Haber <[email protected]>
yossigo
reviewed
Jan 19, 2021
yossigo
previously approved these changes
Jan 19, 2021
yossigo
approved these changes
Jan 19, 2021
Member
Author
|
i'm merging this for now to pin the current state. we can open that for discussion after (either here of in a new issue) |
JackieXie168
pushed a commit
to JackieXie168/redis
that referenced
this pull request
Mar 2, 2021
…redis#8357) This commit adds tests to make sure that relative and absolute expire commands are propagated as is to replicas and stop any future attempt to change that without a proper discussion. see redis#8327 and redis#5171 Additionally it slightly improve the AOF test that tests the opposite (always propagating absolute times), by covering more commands, and shaving 2 seconds from the test time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds tests to make sure that relative and absolute expire commands
are propagated as is to replicas and stop any future attempt to change that without
a proper discussion. see #8327 and #5171
Additionally it slightly improve the AOF test that tests the opposite (always
propagating absolute times), by covering more commands, and shaving 2
seconds from the test time.