Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Validation check for set types fails unexpectedly #119

Closed
samongyr-sq opened this issue Jun 21, 2023 · 1 comment
Closed

Bug: Validation check for set types fails unexpectedly #119

samongyr-sq opened this issue Jun 21, 2023 · 1 comment
Labels
bug Something isn't working released Issue has been released

Comments

@samongyr-sq
Copy link

Validation fails unexpectedly on sets with >1 member loaded via the replicate command with --mode snapshot

$ riot -d <target> replicate <target> --mode compare --show-diffs 2>&1 | grep WARNING
20:12:40.923 WARNING com.redis.riot.cli.Replicate	: Value mismatch for string my_stringXYZ at offset 17
20:12:40.923 WARNING com.redis.riot.cli.Replicate	: Value mismatch for set my_set: [] <> []
20:12:41.246 WARNING com.redis.riot.cli.common.KeyComparisonStepListener	: Verification failed: OK=2 Missing=0 Values=2 TTLs=0 Types=0

Checking the mismatch via redis-cli proves that the sets should be equal

$ redis-cli <source> smembers my_set
1) "000000000021"
2) "000000000026"

$ redis-cli <target> smembers my_set
1) "000000000026"
2) "000000000021"

I would expect the validation check for my_set to pass

@jruaux jruaux added the bug Something isn't working label Jun 30, 2023
@jruaux jruaux closed this as completed in c96f165 Jun 30, 2023
@jruaux jruaux added the released Issue has been released label Jul 3, 2023
@jruaux
Copy link
Collaborator

jruaux commented Jul 3, 2023

🎉 This issue has been resolved in v3.1.1 (Release Notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Issue has been released
Projects
None yet
Development

No branches or pull requests

2 participants