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

roachtest: failover tests should track outage duration, not pMax #133361

Open
nvanbenschoten opened this issue Oct 24, 2024 · 0 comments
Open

roachtest: failover tests should track outage duration, not pMax #133361

nvanbenschoten opened this issue Oct 24, 2024 · 0 comments
Labels
A-kv Anything in KV that doesn't belong in a more specific category. A-testing Testing tools and infrastructure C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team

Comments

@nvanbenschoten
Copy link
Member

nvanbenschoten commented Oct 24, 2024

Currently, the failover test suite measures an outage by the pMax of any request experienced during the outage. This means that it cannot differentiate between an outage that causes some requests to hit timeouts for a short period of time, and an outage that causes some requests to continue to hit timeouts for a longer period of time. As a result, we have had to make changes like #133214.

This is a non-standard way to define outage which does not map to how our customers think about availability. We should switch the test to set a statement timeout and then measure the period where timeouts are hit.

Jira issue: CRDB-43556

Epic CRDB-42947

@nvanbenschoten nvanbenschoten added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-testing Testing tools and infrastructure A-kv Anything in KV that doesn't belong in a more specific category. T-kv KV Team labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-kv Anything in KV that doesn't belong in a more specific category. A-testing Testing tools and infrastructure C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team
Projects
None yet
Development

No branches or pull requests

1 participant