forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloudtest,mzcompose: generalize external service configuration
This commit avoids duplicating the configuration of CockroachDB and MinIO across our various test harnesses. The mzcompose `Cockroach`, `MinioSetup`, and `Materialized` services learn convenience options that configure them all appropriately for one another. Additionally, the CockroachDB initialization is shared between cloudtest and mzcompose. This yields a natural spot to install the workaround for the CockroachDB bug discovered in #16726. Fix #16726.
- Loading branch information
Showing
21 changed files
with
235 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- Copyright Materialize, Inc. and contributors. All rights reserved. | ||
-- | ||
-- Use of this software is governed by the Business Source License | ||
-- included in the LICENSE file at the root of this repository. | ||
-- | ||
-- As of the Change Date specified in that file, in accordance with | ||
-- the Business Source License, use of this software will be governed | ||
-- by the Apache License, Version 2.0. | ||
|
||
-- Sets up a CockroachDB cluster for use by Materialize. | ||
|
||
-- See: https://github.com/cockroachdb/cockroach/issues/93892 | ||
-- See: https://github.com/MaterializeInc/materialize/issues/16726 | ||
-- TODO: remove this workaround before upgrading to CockroachDB 22.2 in | ||
-- production. | ||
SET CLUSTER SETTING sql.stats.forecasts.enabled = false; | ||
|
||
CREATE SCHEMA consensus; | ||
CREATE SCHEMA adapter; | ||
CREATE SCHEMA storage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.