-
Notifications
You must be signed in to change notification settings - Fork 1k
fix: RENAME in cluster mode crash #4995
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
Conversation
@@ -2722,4 +2722,26 @@ TEST_F(SearchFamilyTest, JsonWithNullFields) { | |||
AreDocIds("doc:1", "doc:2")); | |||
} | |||
|
|||
TEST_F(SearchFamilyTest, RenameDocumentBetweenIndices) { | |||
std::string original_mode = GetTestFlag("cluster_mode"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can just declare absl::FlagSaver fs;
here and then change flags - they will be restored automatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Co-authored-by: Roman Gershman <roman@dragonflydb.io> Signed-off-by: Volodymyr Yavdoshenko <v.yavdoshenko@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a ticket for other commands: #5014
fixes: #4993