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: don't save cert/authz zip on disk when emqx start #9429

Merged
merged 2 commits into from Dec 5, 2022

Conversation

zhongwencool
Copy link
Member

@zhongwencool zhongwencool commented Nov 28, 2022

Fixes <9402>

Make the data.zip file only in memory, don't need to save this on disk.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Changed lines covered in coverage report
  • Change log has been added to changes/ dir
  • If there should be document changes, a PR to emqx-docs.git is sent, or a jira ticket is created to follow up
  • In case of non-backward compatible changes, reviewer should check this item as a write-off, and add details in Backward Compatibility section

Backward Compatibility

More information

@zhongwencool zhongwencool marked this pull request as ready for review December 5, 2022 08:26
@zhongwencool zhongwencool merged commit e606f01 into emqx:master Dec 5, 2022
@zhongwencool zhongwencool deleted the dont-save-zip-on-disk branch December 5, 2022 09:12
{ok, []} ->
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_ignore"});
{ok, Files} ->
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_ok", files => Files})
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to handle the error here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync data from cluster node fails
3 participants