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

Fix Jackson deserialization for 7.17 snapshot repo data #737

Merged

Conversation

AndreKurait
Copy link
Member

@AndreKurait AndreKurait commented Jun 19, 2024

Description

Fix Jackson deserialization for 7.17 snapshot repo data

  • Category: Bug fix
  • Why these changes are required? 7.17 support
  • What is the old behavior before changes and new behavior after changes? 7.17 failed with "unknown field uuid"

Issues Resolved

N/A

Is this a backport? If so, please add backport PR # and/or commits #

Testing

Manual testing in the cloud with a self managed 7.17.21 cluster on the migration console

TODO in a followup task. Automated testing added for various versions

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

@AndreKurait AndreKurait force-pushed the FixJacksonSerialization branch from 4e39e89 to bfe11fa Compare June 19, 2024 17:14
@AndreKurait AndreKurait marked this pull request as ready for review June 19, 2024 17:14
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.96%. Comparing base (b9d2d5f) to head (bfe11fa).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #737      +/-   ##
============================================
+ Coverage     63.89%   63.96%   +0.06%     
- Complexity     1584     1585       +1     
============================================
  Files           223      223              
  Lines          9092     9093       +1     
  Branches        771      771              
============================================
+ Hits           5809     5816       +7     
+ Misses         2874     2869       -5     
+ Partials        409      408       -1     
Flag Coverage Δ
unittests 63.96% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

Lets not merge this until we've got a unit tests. First one is free - AndreKurait#3

Add a test case to make sure deserialization is tested for snapshots
@AndreKurait AndreKurait merged commit 4fe8615 into opensearch-project:main Jun 19, 2024
4 of 5 checks passed
@AndreKurait AndreKurait deleted the FixJacksonSerialization branch June 19, 2024 18:38
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.

2 participants