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

[CELEBORN-1799][CIP-14] Add celebornConf to cppClient #3027

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HolyLow
Copy link
Contributor

@HolyLow HolyLow commented Dec 24, 2024

What changes were proposed in this pull request?

Add CelebornConf to cppClient.

Why are the changes needed?

The CelebornConf will be used as configuration module in cppClient.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Compilation and UTs.

@HolyLow
Copy link
Contributor Author

HolyLow commented Dec 24, 2024

@FMX Could you kindly review this PR? Thanks a lot.

Any suggestion is welcome.

Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.68%. Comparing base (2eb4c23) to head (f9e3602).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3027      +/-   ##
==========================================
- Coverage   32.99%   32.68%   -0.30%     
==========================================
  Files         331      336       +5     
  Lines       19842    20032     +190     
  Branches     1787     1792       +5     
==========================================
+ Hits         6545     6546       +1     
- Misses      12933    13123     +190     
+ Partials      364      363       -1     

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

const std::unordered_map<std::string, folly::Optional<std::string>>
CelebornConf::kDefaultProperties = {
STR_PROP(kRpcLookupTimeout, "30s"),
STR_PROP(kClientRpcGetReducerFileGroupRpcAskTimeout, "240s"),
Copy link
Contributor

Choose a reason for hiding this comment

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

The default value of this config is 30s. We should align the default values.

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.

2 participants