You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "bowenliang123 (via GitHub)" <gi...@apache.org> on 2023/10/22 01:14:26 UTC
[PR] Prevent Local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
bowenliang123 opened a new pull request, #2012:
URL: https://github.com/apache/incubator-celeborn/pull/2012
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a faster review.
-->
### What changes were proposed in this pull request?
- Minor code improvement in `MetaHandler`
- Local variable 'time' declared in one 'switch' branch `AppHeartbeat` and used in another branch `WorkerHeartbeat`
### Why are the changes needed?
- Incorrect code pattern.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1065] Prevent the local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
Posted by "bowenliang123 (via GitHub)" <gi...@apache.org>.
bowenliang123 commented on PR #2012:
URL: https://github.com/apache/incubator-celeborn/pull/2012#issuecomment-1774031577
Sure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Prevent the local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on PR #2012:
URL: https://github.com/apache/incubator-celeborn/pull/2012#issuecomment-1773975199
Pls create a jira ticket for this and change the pr title
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Prevent the local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #2012:
URL: https://github.com/apache/incubator-celeborn/pull/2012#issuecomment-1773963585
## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2012?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
> Merging [#2012](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2012?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (ec3779b) into [main](https://app.codecov.io/gh/apache/incubator-celeborn/commit/f93be45506d3ec4a0aa2b4cfb9327a05926071cd?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (f93be45) will **increase** coverage by `0.12%`.
> The diff coverage is `n/a`.
```diff
@@ Coverage Diff @@
## main #2012 +/- ##
==========================================
+ Coverage 46.64% 46.75% +0.12%
==========================================
Files 165 165
Lines 10531 10531
Branches 959 959
==========================================
+ Hits 4911 4923 +12
+ Misses 5295 5284 -11
+ Partials 325 324 -1
```
[see 2 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2012/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1065] Prevent the local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
Posted by "bowenliang123 (via GitHub)" <gi...@apache.org>.
bowenliang123 commented on PR #2012:
URL: https://github.com/apache/incubator-celeborn/pull/2012#issuecomment-1774117396
Thanks for the review and merging.
It's my first contribution to Apache Celeborn.
I'm looking forward to participating in more feature development and improvements.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1065] Prevent the local variable 'time' declared in one 'switch' branch and used in another [incubator-celeborn]
Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture closed pull request #2012: [CELEBORN-1065] Prevent the local variable 'time' declared in one 'switch' branch and used in another
URL: https://github.com/apache/incubator-celeborn/pull/2012
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org