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

[DB-15227] Populate the datatype in the UNSUPPORTED_DATATYPE_LIVE_MIGRATION / FF_FB fields in Assessment Issues #2298

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

sanyamsinghal
Copy link
Collaborator

Describe the changes in this pull request

  • this might be a temporary fix until we breakdown unsupported datatype issues
    Hence, didn't update the expected values in test, rather ignoring the ObjectName for category=migration_caveats AND type=UNSUPPORTED_DATATYPE_LIVE_MIGRATION OR UNSUPPORTED_DATATYPE_LIVE_MIGRATION_WITH_FF_FB

Fixes - https://yugabyte.atlassian.net/browse/DB-15227

Describe if there are any user-facing changes

How was this pull request tested?

Existing tests are enough

Does your PR have changes that can cause upgrade issues?

Component Breaking changes?
MetaDB Yes/No
Name registry json Yes/No
Data File Descriptor Json Yes/No
Export Snapshot Status Json Yes/No
Import Data State Yes/No
Export Status Json Yes/No
Data .sql files of tables Yes/No
Export and import data queue Yes/No
Schema Dump Yes/No
AssessmentDB Yes/No
Sizing DB Yes/No
Migration Assessment Report Json Yes/No
Callhome Json Yes/No
YugabyteD Tables Yes/No
TargetDB Metadata Tables Yes/No

…RATION / FF_FB fields in Assessment Issues

- this might be a temporary fix until we breakdown  unsupported datatype issues
if type == "object" and
.Category == "migration_caveats" and
(.Type == "UNSUPPORTED_DATATYPE_LIVE_MIGRATION" or .Type == "UNSUPPORTED_DATATYPE_LIVE_MIGRATION_WITH_FF_FB")
then .ObjectName = "IGNORED"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is it required to ignore the object name for these Type?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think just a temporary ignore until we fix it properly :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, plan is to have individual issue for each datatype.
Updating the test for this temporary fix will be a big change, a lot of test has the corresponding issues including osm, omnibus

Copy link
Contributor

Choose a reason for hiding this comment

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

oh okay, got it!

@sanyamsinghal sanyamsinghal merged commit 1ea77b9 into main Feb 6, 2025
66 checks passed
@sanyamsinghal sanyamsinghal deleted the sanyam/db-15227 branch February 6, 2025 09:21
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