Skip to content

Improve testing of cluster state metadata #341

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

Open
2 of 12 tasks
matriv opened this issue Mar 5, 2025 · 1 comment
Open
2 of 12 tasks

Improve testing of cluster state metadata #341

matriv opened this issue Mar 5, 2025 · 1 comment
Assignees

Comments

@matriv
Copy link
Contributor

matriv commented Mar 5, 2025

In an attempt to improve our bwc, add more DB objects (or more complex objects) which are stored in cluster state, to test seamless rolling upgrade between versions:

DB "objects":

  • users/roles (double check if something more could be added)
  • privileges
  • UDFs (double check if something more could be added)
  • views
  • publications
  • subscriptions
  • fdw

Table features:

  • default column values/expressions
  • Constraints / checks
  • Generated column s
  • Partitions
    (combination with different types for the above)
    • check table/partition version after upgrade steps(?)
@matriv matriv moved this to Must in CrateDB 6.0 Mar 5, 2025
@matriv matriv moved this from Must to Feature Freeze in CrateDB 6.0 Mar 5, 2025
@jeeminso
Copy link
Contributor

jeeminso commented Mar 13, 2025

Trying to add a crate-qa test for crate/crate#17574 and crate/crate#17575. But it requires 2 upgrades to be able to replicate the scenarios, 5.4 > 5.7 > 5.9 where the current bwc tests are limited to only 1 upgrade. I think we can consider testing series of upgrades and also testing (dynamic)column names of the results set and assigned oids(somehow).
update: I had a wrong idea about the bwc tests.

@mfussenegger mfussenegger moved this from Feature Freeze to Must in CrateDB 6.0 Apr 1, 2025
@jeeminso jeeminso self-assigned this Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Must
Development

No branches or pull requests

2 participants