-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse #9410
[BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse #9410
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #9410 +/- ##
============================================
- Coverage 71.24% 71.17% -0.07%
+ Complexity 57472 57453 -19
============================================
Files 4776 4776
Lines 270711 270721 +10
Branches 39574 39576 +2
============================================
- Hits 192874 192699 -175
- Misses 61610 61832 +222
+ Partials 16227 16190 -37
|
hey @reta , do u mind taking a look? |
Nice catch, could you please add test case for that? Thank you! |
done |
Gradle Check (Jenkins) Run Completed with:
|
Compatibility status:Checks if related components are compatible with change 784a473 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/security-analytics.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git] |
Gradle Check (Jenkins) Run Completed with:
|
server/src/test/java/org/opensearch/action/search/GetAllPitNodesResponseTests.java
Show resolved
Hide resolved
Signed-off-by: panguixin <[email protected]>
Signed-off-by: panguixin <[email protected]>
Signed-off-by: panguixin <[email protected]>
c22f5b1
to
ea92a7b
Compare
Compatibility status:Checks if related components are compatible with change 5d3633c Incompatible componentsIncompatible components: [https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/security-analytics.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git] |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
…9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> (cherry picked from commit 980bf3c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]>
…9410) (#9510) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse * add searializion test case * run spotless --------- (cherry picked from commit 980bf3c) Signed-off-by: panguixin <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Gagan Juneja <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Kiran Reddy <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
…pensearch-project#9410) * [BUG] Reconstruct pit infos when deserialize GetAllPitNodesResponse Signed-off-by: panguixin <[email protected]> * add searializion test case Signed-off-by: panguixin <[email protected]> * run spotless Signed-off-by: panguixin <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Today, we haven't reconstructed pit infos when deserialize GetAllPitNodesResponse, which causes corresponding field is empty.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.