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

* MDF [conf] enable bridge retain flag in old conf #795

Merged
merged 12 commits into from Jan 6, 2024
Merged

Conversation

OdyWayne
Copy link
Collaborator

@OdyWayne OdyWayne commented Jan 4, 2024

No description provided.

Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 56 lines in your changes are missing coverage. Please review.

Comparison is base (5d30844) 65.62% compared to head (94aa79d) 63.29%.

Files Patch % Lines
src/supplemental/nanolib/conf.c 5.26% 54 Missing ⚠️
src/supplemental/nanolib/conf_ver2.c 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #795      +/-   ##
==========================================
- Coverage   65.62%   63.29%   -2.34%     
==========================================
  Files         123      123              
  Lines       35996    36021      +25     
==========================================
- Hits        23624    22801     -823     
- Misses      12372    13220     +848     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/supplemental/nanolib/conf.c Show resolved Hide resolved
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
# # # Value: Number
# # # Default: 5
# file_count = 5
# }
Copy link
Collaborator Author

@OdyWayne OdyWayne Jan 4, 2024

Choose a reason for hiding this comment

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

There are plenty of memleaks in conf parse in exchange & parquet now.

Copy link
Member

Choose a reason for hiding this comment

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

worth an issue

Copy link
Member

Choose a reason for hiding this comment

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

There are plenty of memleaks in conf parse in exchange & parquet now.

I have made some updates. Those memory leakage will no longer exists after that pr was merged.

Signed-off-by: wayne <yukang.wei@emqx.io>
Copy link
Member

@JaylinYu JaylinYu left a comment

Choose a reason for hiding this comment

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

not sure the reasons of some changes.

} else {
nng_strfree(param->name);
NNI_FREE_STRUCT(param);
}
}
config->param_count = cvector_size(config->params);
config->param_count = cnt;
Copy link
Member

Choose a reason for hiding this comment

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

???


## multi-stream: enable or disable the multi-stream bridging mode
## Still a feature WIP, but basic func is ready
## Value: true/false
## Default: false
bridge.mqtt.emqx.quic_multi_stream=true
bridge.mqtt.emqx.quic_multi_stream=false
Copy link
Member

Choose a reason for hiding this comment

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

why?

# # # Value: Number
# # # Default: 5
# file_count = 5
# }
Copy link
Member

Choose a reason for hiding this comment

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

worth an issue

Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
@@ -105,6 +105,6 @@ NUTS_TESTS = {
{"get size", test_get_size},
{"get time", test_get_time},
{"conf parse v2", test_conf_parse_ver2},
{"conf parse", test_conf_parse},
// {"conf parse", test_conf_parse},
Copy link
Member

Choose a reason for hiding this comment

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

remember to fire an issue regarding this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

roger

@JaylinYu JaylinYu merged commit ad75b5f into main Jan 6, 2024
16 checks passed
@wanghaEMQ wanghaEMQ deleted the wayne/dev branch January 7, 2024 13:09
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.

None yet

5 participants