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
[IOTDB-6327] Random choosing available nodes to send sql requests #12511
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12511 +/- ##
============================================
+ Coverage 43.44% 43.52% +0.08%
Complexity 69 69
============================================
Files 3110 3117 +7
Lines 193287 193992 +705
Branches 23018 23144 +126
============================================
+ Hits 83970 84441 +471
- Misses 109317 109551 +234 ☔ View full report in Codecov by Sentry. |
return defaultSessionConnection; | ||
} | ||
SessionConnection connection = | ||
endPointToSessionConnection.computeIfAbsent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If both enableRedirection
and enableQueryRedirection
are set to false, this will cause an NPE since endPointToSessionConnection
has not been initialized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
more details can be seen in https://apache-iotdb.feishu.cn/docx/FVh3djW9boALTaxVRwqcUGVznLd