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

backup: cut user and table counts in cluster backup test #138087

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

dt
Copy link
Member

@dt dt commented Dec 30, 2024

This test was creating 1k users and 100 tables, altering 100 tables and dropping 100 tables in both the system and tenent branches. This many schema change jobs made the test very, very slow and sensitive to schema changer delays adding up. In one recently observed CI run, creating the 1000 users took upwards of nine minutes -- for a single test's setup, before it even started testing the actual backup feature it is supposed to test.

This changes the user counts and table counts to be much smaller, hopefully reducing the number of schema changes and waits on schema changes that are involved in setting up this test.

Release note: none.
Epic: none.

This test was creating 1k users and 100 tables, altering 100 tables and dropping 100 tables
in both the system and tenent branches. This many schema change jobs made the test very, very slow
and sensitive to schema changer delays adding up. In one recently observed CI run, creating the 1000
users took upwards of nine minutes -- for a single test's setup, before it even started testing the
actual backup feature it is supposed to test.

This changes the user counts and table counts to be much smaller, hopefully reducing the number of
schema changes and waits on schema changes that are involved in setting up this test.

Release note: none.
Epic: none.
@dt dt requested review from jeffswenson and msbutler December 30, 2024 18:25
@dt dt requested a review from a team as a code owner December 30, 2024 18:25
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt dt linked an issue Dec 30, 2024 that may be closed by this pull request
Copy link
Collaborator

@jeffswenson jeffswenson left a comment

Choose a reason for hiding this comment

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

LGTM

@dt
Copy link
Member Author

dt commented Dec 30, 2024

tftr!

bors r+

@craig craig bot merged commit 47699f3 into cockroachdb:master Dec 31, 2024
22 checks passed
@dt dt deleted the slow-test branch January 3, 2025 22:40
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.

ccl/backupccl: TestFullClusterBackup failed
3 participants