Closed Pengzna closed 6 months ago
Attention: Patch coverage is 0%
with 1664 lines
in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
pd-store-dev@3dd06f2
). Click here to learn what that means.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
merge directly into the master branch after #2498...
Attention: Patch coverage is 0%
with 1664 lines
in your changes are missing coverage. Please review.
Project coverage is 58.83%. Comparing base (
3a1618f
) to head (6be946b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
subtask of https://github.com/apache/incubator-hugegraph/issues/2265, this PR mainly introduce the store-client module
During the code review, I found the following issues:
HgStoreClient
can hold multipleHgStoreSession
to maintain multiple connections, but now it only holds one.MultiNodeSessionFactory
doesn't consider the case of multiple instances.HgSessionManager
now is constructed by SPI, but it seems to have only one implementation class and thus does not require SPI?NodeTxSessionProxy.clean()
only uses the first node's cleaning result to determine whether the overall failure occurs. If subsequent nodes fail, we will not be able to detect it.getHeader()
methodFor the store-client submodule, its structure can be seen in detailed docs.
Note: code style including comments will be handled uniformly in future related PRs