Apply recommended cluster settings and sql statements to Docker image via env var #134429
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
O-community
Originated from the community
X-blathers-triaged
blathers was able to find an owner
Is your feature request related to a problem? Please describe.
Cockroach documentation makes a recommendation regarding additional cluster settings and sql statements but those have to be applied manually. See https://www.cockroachlabs.com/docs/stable/local-testing#use-a-local-single-node-cluster-with-in-memory-storage
Describe the solution you'd like
It would be nice to have an env var that once set would apply those improvements automatically.
Describe alternatives you've considered
Always let the users declare those improvements.
Additional context
Testcontainers offers a CockroachDb module and
there is a PR in Testcontainers for Go in order to apply those improvements but a more portable solution to other Testcontainers implementation would be the env var.
Jira issue: CRDB-44078
The text was updated successfully, but these errors were encountered: