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

fix(meta): fix null pointer while deleting environment variables after table was dropped #2170

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

empiredan
Copy link
Contributor

@empiredan empiredan commented Dec 13, 2024

#2149.

Previously we've fixed the problem that meta server failed due to null pointer while
deleting environment variables locally immediately after a table was dropped in
#2148. There's the same problem
while deleting environment variables.

@github-actions github-actions bot added the cpp label Dec 13, 2024
@empiredan empiredan marked this pull request as ready for review December 16, 2024 04:24
@empiredan empiredan added the type/bug-fix This PR fixes a bug. label Dec 16, 2024
}

deleted_keys_info += fmt::format("\n {}", key);
Copy link
Member

Choose a reason for hiding this comment

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

Will fmt::format_to be faster than std::string + operator?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I'll use fmt::format_to instead.

@empiredan empiredan merged commit 7ceef5d into apache:master Dec 17, 2024
83 of 85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants