-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add fix to fromXContent and toXContent in ModelGraveyard #618
Add fix to fromXContent and toXContent in ModelGraveyard #618
Conversation
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
src/test/java/org/opensearch/knn/indices/ModelGraveyardTests.java
Outdated
Show resolved
Hide resolved
Also, we are going to need to backport this to 2.3 as well as port forward to 2.x and main |
As this goes to 2.4, please update release notes as well. |
Will backport this PR to main, 2.x and 2.3 branches |
Working on it now |
c7d1a19
to
5a52289
Compare
Codecov Report
@@ Coverage Diff @@
## 2.4 #618 +/- ##
============================================
- Coverage 84.51% 84.49% -0.02%
- Complexity 1054 1058 +4
============================================
Files 149 149
Lines 4301 4316 +15
Branches 382 388 +6
============================================
+ Hits 3635 3647 +12
Misses 489 489
- Partials 177 180 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
nice finding, thanks Naveen
5a52289
to
219e89f
Compare
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
219e89f
to
3da45c2
Compare
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b)
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b)
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b)
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b) Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b) Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b)
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b) Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b)
* Add fix to fromXContent and toXContent in ModelGraveyard Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Address Review Comments Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Naveen Tatikonda <navtat@amazon.com> (cherry picked from commit f92651b) Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
Signed-off-by: Naveen Tatikonda navtat@amazon.com
Description
Add fix to fromXContent and toXContent in ModelGraveyard, where before adding this fix it will fail to bootup after a node drop or if cluster is killed.
Issues Resolved
#619
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.