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

[Refactor] Extract common logic from IoTDBSession and IoTDBClusterSession #348

Closed

Conversation

liyuheng55555
Copy link
Collaborator

No description provided.

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM~
Awesome refactor~

Copy link
Collaborator

@SpriCoder SpriCoder left a comment

Choose a reason for hiding this comment

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

PTAL~

Comment on lines 39 to 73
private final SessionPool sessionPool;
public BenchmarkSessionPool(SessionPool sessionPool) {
this.sessionPool = sessionPool;
}
@Override
public void open() {

}
@Override
public void open(boolean enableRPCCompression) {

}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we need to init SessionPool in BenchmarkSessionPool instead of passing sessionpool into BenchmarkSessionPool

@liyuheng55555 liyuheng55555 force-pushed the mergeSessionAndClusterSession branch 2 times, most recently from bb992e1 to 277abd8 Compare July 20, 2023 04:45
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.

3 participants