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

multiregion: setup DRTs #65911

Closed
3 tasks
otan opened this issue Jun 1, 2021 · 0 comments · Fixed by #66989
Closed
3 tasks

multiregion: setup DRTs #65911

otan opened this issue Jun 1, 2021 · 0 comments · Fixed by #66989
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-multiregion

Comments

@otan
Copy link
Contributor

otan commented Jun 1, 2021

This issue is for coordinating work required to get somewhere closer to automatic DRTs.

In particular, our MVP here is to setup a way of making a DRT for multi-region work using TPC-C.

Steps:

  • Setup --client-partitions to correctly send local traffic to all the tables. As of workload/tpcc: add multiregion TPC-C setup #65600, the new TPC-C workload is initialised on all cockroach machines, but the workload inserts data into other nodes resulting in un-optimised results. We should ensure the ./cockroach workload talks to the local region in the same node.
  • Instrument workload to export prometheus metrics NOTE: unclear whether we should be using metrics.PrometheusExporter instead, but that's heavily tied to pkg/server/status which has a bunch of cruft we do NOT need
  • Update the Chaos tooling to also log metrics and check that metrics perform as expect.

Epic CRDB-2541

@otan otan added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Jun 1, 2021
@craig craig bot closed this as completed in 4c39df8 Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-multiregion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants