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

Update of the schema 41910to42000.sql for compatibility with MariaDB version 10.3.38. #9680

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

LayonRibeiro
Copy link
Contributor

Description

This PR changes two column renames in schema-41910to42000.sql. Using MariaDB version 10.3.38-MariaDB, some lines are not applying the expected changes to the column names in the tables. This issue results in errors during the version transition process.

The modifications made to the schema-41910to42000.sql ensure that changes to the tables are applied correctly. With these fixes, the transition between versions should proceed successfully, without errors.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

How Has This Been Tested?

I made the mentioned changes, and the transition between versions went as expected.

@weizhouapache
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.81%. Comparing base (1d4700a) to head (0054119).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##               main    #9680    +/-   ##
==========================================
  Coverage     15.81%   15.81%            
  Complexity    12554    12554            
==========================================
  Files          5629     5629            
  Lines        492029   492029            
  Branches      62293    62841   +548     
==========================================
+ Hits          77811    77813     +2     
+ Misses       405894   405893     -1     
+ Partials       8324     8323     -1     
Flag Coverage Δ
uitests 4.48% <ø> (ø)
unittests 16.60% <ø> (+<0.01%) ⬆️

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.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11111

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan LLtest

@blueorangutan
Copy link

@DaanHoogland a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

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

LGTM - didn't test it though

@weizhouapache
Copy link
Member

code lgtm

@JoaoJandre @DaanHoogland
If the issue exists with mariadb 10 and is fixed by this PR, we should merge this.

@weizhouapache
Copy link
Member

@LayonRibeiro
can you update the title with a short summary of the issue ?

Copy link
Contributor

@JoaoJandre JoaoJandre left a comment

Choose a reason for hiding this comment

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

LGTM. Tested in a local lab:

  • With MariaDB 10.11.2, tried to update from 4.19 to 4.20. Before the changes, the script failed to update the columns.
  • After the changes, the columns were renamed successfully.

@DaanHoogland
Copy link
Contributor

@JoaoJandre , for people using mariadb 10 this is actually a blocker. I don't know if mariadb10 is well supported otherwise, but I think we should include this.

@JoaoJandre
Copy link
Contributor

@JoaoJandre , for people using mariadb 10 this is actually a blocker. I don't know if mariadb10 is well supported otherwise, but I think we should include this.

Yes we are including this for sure. I'm just waiting for the CI results and we can merge this.

@LayonRibeiro LayonRibeiro changed the title refactor schema-41910to42000.sql Update of the schema 41910to42000.sql for compatibility with MariaDB version 10.3.38. Sep 16, 2024
@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@rohityadavcloud
Copy link
Member

Do we need explicit testing if Github Actions smoketests have passed? (that I reckon runs against MySQL 8.x)? @JoaoJandre @DaanHoogland

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11130

@DaanHoogland
Copy link
Contributor

Do we need explicit testing if Github Actions smoketests have passed? (that I reckon runs against MySQL 8.x)? @JoaoJandre @DaanHoogland

I think we can merge. cc @weizhouapache

@JoaoJandre
Copy link
Contributor

Do we need explicit testing if Github Actions smoketests have passed? (that I reckon runs against MySQL 8.x)? @JoaoJandre @DaanHoogland

I think we can merge. cc @weizhouapache

@DaanHoogland shouldn't we wait for the CI results?

@DaanHoogland
Copy link
Contributor

Do we need explicit testing if Github Actions smoketests have passed? (that I reckon runs against MySQL 8.x)? @JoaoJandre @DaanHoogland

I think we can merge. cc @weizhouapache

@DaanHoogland shouldn't we wait for the CI results?

It will not give us more information than the GitHub actions in this case, as @rohityadavcloud implies.

@JoaoJandre
Copy link
Contributor

Do we need explicit testing if Github Actions smoketests have passed? (that I reckon runs against MySQL 8.x)? @JoaoJandre @DaanHoogland

I think we can merge. cc @weizhouapache

@DaanHoogland shouldn't we wait for the CI results?

It will not give us more information than the GitHub actions in this case, as @rohityadavcloud implies.

Sorry, I missed that message 😅

@JoaoJandre JoaoJandre merged commit a506bf1 into apache:main Sep 17, 2024
25 checks passed
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants