vesoft-inc / nebula-java

Client API and data importer of Nebula Graph in Java
Apache License 2.0
171 stars 121 forks source link

check the connection's status when borrow and return #503

Closed Nicole00 closed 1 year ago

Nicole00 commented 1 year ago

What type of PR is this?

What problem(s) does this PR solve?

Issue(s) number:

fix https://github.com/vesoft-inc/nebula-java/issues/401

Description:

How do you solve it?

related pr https://github.com/vesoft-inc/nebula-java/pull/400, thanks @vchangpengfei for proposing the issue and pr.

Special notes for your reviewer, ex. impact of this fix, design document, etc:

codecov-commenter commented 1 year ago

Codecov Report

Base: 63.46% // Head: 63.77% // Increases project coverage by +0.31% :tada:

Coverage data is based on head (b504b45) compared to base (e25c56d). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #503 +/- ## ============================================ + Coverage 63.46% 63.77% +0.31% - Complexity 787 792 +5 ============================================ Files 71 71 Lines 3758 3760 +2 Branches 537 537 ============================================ + Hits 2385 2398 +13 + Misses 1004 994 -10 + Partials 369 368 -1 ``` | [Impacted Files](https://codecov.io/gh/vesoft-inc/nebula-java/pull/503?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc) | Coverage Δ | | |---|---|---| | [...com/vesoft/nebula/client/graph/net/NebulaPool.java](https://codecov.io/gh/vesoft-inc/nebula-java/pull/503/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-Y2xpZW50L3NyYy9tYWluL2phdmEvY29tL3Zlc29mdC9uZWJ1bGEvY2xpZW50L2dyYXBoL25ldC9OZWJ1bGFQb29sLmphdmE=) | `87.27% <100.00%> (+0.23%)` | :arrow_up: | | [...vesoft/nebula/client/graph/net/ConnObjectPool.java](https://codecov.io/gh/vesoft-inc/nebula-java/pull/503/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-Y2xpZW50L3NyYy9tYWluL2phdmEvY29tL3Zlc29mdC9uZWJ1bGEvY2xpZW50L2dyYXBoL25ldC9Db25uT2JqZWN0UG9vbC5qYXZh) | `56.09% <0.00%> (+2.43%)` | :arrow_up: | | [...java/com/vesoft/nebula/client/meta/MetaClient.java](https://codecov.io/gh/vesoft-inc/nebula-java/pull/503/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-Y2xpZW50L3NyYy9tYWluL2phdmEvY29tL3Zlc29mdC9uZWJ1bGEvY2xpZW50L21ldGEvTWV0YUNsaWVudC5qYXZh) | `57.69% <0.00%> (+4.80%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.