Skip to content

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

Merged
merged 6 commits into from
Apr 28, 2025

Conversation

vyavdoshenko
Copy link
Contributor

fixes: #4993

@vyavdoshenko vyavdoshenko self-assigned this Apr 24, 2025
@@ -2722,4 +2722,26 @@ TEST_F(SearchFamilyTest, JsonWithNullFields) {
AreDocIds("doc:1", "doc:2"));
}

TEST_F(SearchFamilyTest, RenameDocumentBetweenIndices) {
std::string original_mode = GetTestFlag("cluster_mode");
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@vyavdoshenko vyavdoshenko requested a review from romange April 24, 2025 18:35
romange
romange previously approved these changes Apr 28, 2025
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
Signed-off-by: Volodymyr Yavdoshenko <v.yavdoshenko@gmail.com>
Copy link
Contributor

@BagritsevichStepan BagritsevichStepan left a 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

@vyavdoshenko vyavdoshenko merged commit aa7e8ab into main Apr 28, 2025
10 checks passed
@vyavdoshenko vyavdoshenko deleted the bobik/rename_in_cluster_mode_crash branch April 28, 2025 08:45
@vyavdoshenko vyavdoshenko mentioned this pull request Apr 30, 2025
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.

RENAME crashes in cluster mode only
3 participants