You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/07/22 11:51:24 UTC
[GitHub] [shardingsphere-elasticjob] Zihao-Liu opened a new pull request #1939: solve InetAddress.isReachable() returns incorrectly
Zihao-Liu opened a new pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939
Fixes #1858.
Changes proposed in this pull request:
- solve InetAddress.isReachable() returns incorrectly
- use run time ping when InetAddress.isReachable() return false
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] TeslaCN commented on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
TeslaCN commented on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884863289
> > I think using `ping` is not a common way. For example `ping` is not exists in many simplified docker images.
>
> Ok, I will try some other ways.
It's better to discuss in the issue before coding.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] sunkai-cai commented on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
sunkai-cai commented on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-886000633
we may not need `InetAddress.isReachable()` , this is a local network address , `isReachable()` may be always true.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] codecov-commenter commented on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884857351
# [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#1939](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ea2cdeb) into [master](https://codecov.io/gh/apache/shardingsphere-elasticjob/commit/06ed9cf8b0ac295c85db55f7b37869b5b294c7c3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (06ed9cf) will **decrease** coverage by `0.10%`.
> The diff coverage is `40.00%`.
[](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #1939 +/- ##
============================================
- Coverage 85.68% 85.57% -0.11%
Complexity 112 112
============================================
Files 276 276
Lines 6037 6040 +3
Branches 922 922
============================================
- Hits 5173 5169 -4
- Misses 527 530 +3
- Partials 337 341 +4
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...e/shardingsphere/elasticjob/infra/env/IpUtils.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1pbmZyYS9lbGFzdGljam9iLWluZnJhLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZWxhc3RpY2pvYi9pbmZyYS9lbnYvSXBVdGlscy5qYXZh) | `59.15% <40.00%> (-5.47%)` | :arrow_down: |
| [...ticjob/lite/internal/snapshot/SnapshotService.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9lbGFzdGljam9iL2xpdGUvaW50ZXJuYWwvc25hcHNob3QvU25hcHNob3RTZXJ2aWNlLmphdmE=) | `80.95% <0.00%> (-1.59%)` | :arrow_down: |
| [.../lifecycle/internal/operate/JobOperateAPIImpl.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1saWZlY3ljbGUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2VsYXN0aWNqb2IvbGl0ZS9saWZlY3ljbGUvaW50ZXJuYWwvb3BlcmF0ZS9Kb2JPcGVyYXRlQVBJSW1wbC5qYXZh) | `91.78% <0.00%> (-0.33%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [06ed9cf...ea2cdeb](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Zihao-Liu commented on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
Zihao-Liu commented on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884870810
> > > I think using `ping` is not a common way. For example `ping` is not exists in many simplified docker images.
> >
> >
> > Ok, I will try some other ways.
>
> It's better to discuss in the issue before coding.
> > > I think using `ping` is not a common way. For example `ping` is not exists in many simplified docker images.
> >
> >
> > Ok, I will try some other ways.
>
> It's better to discuss in the issue before coding.
Fine, Shoud I move to the issue and discuss some new idea now?
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] codecov-commenter edited a comment on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884857351
# [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#1939](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (45dd9ee) into [master](https://codecov.io/gh/apache/shardingsphere-elasticjob/commit/06ed9cf8b0ac295c85db55f7b37869b5b294c7c3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (06ed9cf) will **decrease** coverage by `0.14%`.
> The diff coverage is `40.00%`.
[](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #1939 +/- ##
============================================
- Coverage 85.68% 85.54% -0.15%
Complexity 112 112
============================================
Files 276 276
Lines 6037 6040 +3
Branches 922 922
============================================
- Hits 5173 5167 -6
- Misses 527 534 +7
- Partials 337 339 +2
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...e/shardingsphere/elasticjob/infra/env/IpUtils.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1pbmZyYS9lbGFzdGljam9iLWluZnJhLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZWxhc3RpY2pvYi9pbmZyYS9lbnYvSXBVdGlscy5qYXZh) | `59.15% <40.00%> (-5.47%)` | :arrow_down: |
| [...ticjob/lite/internal/snapshot/SnapshotService.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9lbGFzdGljam9iL2xpdGUvaW50ZXJuYWwvc25hcHNob3QvU25hcHNob3RTZXJ2aWNlLmphdmE=) | `77.77% <0.00%> (-4.77%)` | :arrow_down: |
| [.../lifecycle/internal/operate/JobOperateAPIImpl.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1saWZlY3ljbGUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2VsYXN0aWNqb2IvbGl0ZS9saWZlY3ljbGUvaW50ZXJuYWwvb3BlcmF0ZS9Kb2JPcGVyYXRlQVBJSW1wbC5qYXZh) | `91.78% <0.00%> (-0.33%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [06ed9cf...45dd9ee](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Zihao-Liu commented on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
Zihao-Liu commented on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884860526
> I think using `ping` is not a common way. For example `ping` is not exists in many simplified docker images.
Ok, I will try some other ways.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] codecov-commenter edited a comment on pull request #1939: solve InetAddress.isReachable() returns incorrectly
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #1939:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1939#issuecomment-884857351
# [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#1939](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ea2cdeb) into [master](https://codecov.io/gh/apache/shardingsphere-elasticjob/commit/06ed9cf8b0ac295c85db55f7b37869b5b294c7c3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (06ed9cf) will **decrease** coverage by `0.05%`.
> The diff coverage is `40.00%`.
> :exclamation: Current head ea2cdeb differs from pull request most recent head 45dd9ee. Consider uploading reports for the commit 45dd9ee to get more accurate results
[](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #1939 +/- ##
============================================
- Coverage 85.68% 85.62% -0.06%
Complexity 112 112
============================================
Files 276 276
Lines 6037 6040 +3
Branches 922 922
============================================
- Hits 5173 5172 -1
- Misses 527 529 +2
- Partials 337 339 +2
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...e/shardingsphere/elasticjob/infra/env/IpUtils.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1pbmZyYS9lbGFzdGljam9iLWluZnJhLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZWxhc3RpY2pvYi9pbmZyYS9lbnYvSXBVdGlscy5qYXZh) | `63.38% <40.00%> (-1.24%)` | :arrow_down: |
| [...ticjob/lite/internal/snapshot/SnapshotService.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9lbGFzdGljam9iL2xpdGUvaW50ZXJuYWwvc25hcHNob3QvU25hcHNob3RTZXJ2aWNlLmphdmE=) | `80.95% <0.00%> (-1.59%)` | :arrow_down: |
| [.../lifecycle/internal/operate/JobOperateAPIImpl.java](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZWxhc3RpY2pvYi1saXRlL2VsYXN0aWNqb2ItbGl0ZS1saWZlY3ljbGUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2VsYXN0aWNqb2IvbGl0ZS9saWZlY3ljbGUvaW50ZXJuYWwvb3BlcmF0ZS9Kb2JPcGVyYXRlQVBJSW1wbC5qYXZh) | `91.78% <0.00%> (-0.33%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [06ed9cf...45dd9ee](https://codecov.io/gh/apache/shardingsphere-elasticjob/pull/1939?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org