Skip to content

roachtest: skip c2c/BulkOps and add the new c2c/BulkOps/SingleImport#105677

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
msbutler:butler-deflake-c2c-bulk
Jun 28, 2023
Merged

roachtest: skip c2c/BulkOps and add the new c2c/BulkOps/SingleImport#105677
craig[bot] merged 1 commit intocockroachdb:masterfrom
msbutler:butler-deflake-c2c-bulk

Conversation

@msbutler
Copy link
Copy Markdown
Collaborator

@msbutler msbutler commented Jun 28, 2023

The roachtest c2c/BulkOps has been failing every night since it merged to
master due to c2c's inability to keep up with the foreground source cluster
workload. We had hoped to deflake the test with general c2c
performance improvements, but have yet to get there.

This patch skips the test and adds the c2c/BulkOps/SingleImport roachtest which
reduces the complexity of the workload. In the original test, 2 ~30 GB imports
would run + 2 import rollbacks after total ingestion, taking about an hour.
This patch changes the workload to a single ~10GB import which takes about 3
minutes. Even with the simpler workload, the replication stream cannot catch up
to the src tenant after an hour. To avoid nightly roachtest failures, both the
original and new test will be skipped and the performance issues will get
tracked in #105676.

Fixes #98669
Informs #105676

Release note: None

@msbutler msbutler self-assigned this Jun 28, 2023
@msbutler msbutler requested a review from a team as a code owner June 28, 2023 00:54
@msbutler msbutler requested review from smg260 and srosenberg and removed request for a team June 28, 2023 00:54
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@lidorcarmel lidorcarmel left a comment

Choose a reason for hiding this comment

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

so, the original test is something that we want to work, right? then why relax it and also skip it? I'd say, either relax it to a level that it can be enabled, which means we'll get some test coverage for now, or, skip it until we improve performance. Looks like relaxing the test didn't do much so just skip it for now and leave it as is?
I'd hate to make the code more complex for no real reason.

@msbutler msbutler force-pushed the butler-deflake-c2c-bulk branch from 83fde1f to 7e8d567 Compare June 28, 2023 18:18
@msbutler
Copy link
Copy Markdown
Collaborator Author

I see your point. I amended the commit to keep the original test as is (aside from reconfiguring the timeouts), and added a new "reduced form" test, which contains the simplest repro of #105676 and is also skipped.

I think adding the simpler test is important, as it provides much easier way to debug and reproduce #105676 than the original test. The new test has a workload that takes 3 mins, the original workload takes an hour to run.

Copy link
Copy Markdown
Contributor

@lidorcarmel lidorcarmel left a comment

Choose a reason for hiding this comment

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

got it, thanks.

@msbutler msbutler force-pushed the butler-deflake-c2c-bulk branch from 7e8d567 to f756feb Compare June 28, 2023 18:44
The roachtest c2c/BulkOps has been failing every night since it merged to
master due to c2c's inability to keep up with the foreground source cluster
workload. We had hoped to deflake the test with general c2c
performance improvements, but have yet to get there.

This patch skips the test and adds the c2c/BulkOps/SingleImport roachtest which
reduces the complexity of the workload.  In the original test, 2 ~30 GB imports
would run + 2 import rollbacks after total ingestion, taking about an hour.
This patch changes the workload to a single ~10GB import which takes about 3
minutes. Even with the simpler workload, the replication stream cannot catch up
to the src tenant after an hour. To avoid nightly roachtest failures, both the
original and new test will be skipped and the performance issues will get
tracked in cockroachdb#105676.

Fixes cockroachdb#98669
Informs cockroachdb#105676

Release note: None
@msbutler msbutler force-pushed the butler-deflake-c2c-bulk branch from f756feb to e58eadd Compare June 28, 2023 18:46
@msbutler msbutler changed the title roachtest: skip and reduce complexity of the c2c/BulkOps roachtest roachtest: skip c2c/BulkOps and add the new c2c/BulkOps/SingleImport Jun 28, 2023
@msbutler
Copy link
Copy Markdown
Collaborator Author

TFTR!

bors r=lidorcarmel

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 28, 2023

Build succeeded:

@craig craig bot merged commit 4aea454 into cockroachdb:master Jun 28, 2023
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.

roachtest: c2c/BulkOps failed

3 participants