# 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. # Ensure correct log creation on `CREATE CLUSTER` initializes read policies for introspection source indexes. mode cockroach statement ok CREATE CLUSTER c1 REPLICAS (r (SIZE '1')); statement ok SET CLUSTER TO c1; statement ok BEGIN statement ok SET auto_route_catalog_queries = false; # Transaction will force a read hold on this index. query TT rowsort SELECT * FROM mz_introspection.mz_arrangement_batches_raw; ---- statement ok COMMIT