cluster_log_compaction.slt 822 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. # Ensure correct log creation on `CREATE CLUSTER` initializes read policies for introspection source indexes.
  10. mode cockroach
  11. statement ok
  12. CREATE CLUSTER c1 REPLICAS (r (SIZE '1'));
  13. statement ok
  14. SET CLUSTER TO c1;
  15. statement ok
  16. BEGIN
  17. statement ok
  18. SET auto_route_catalog_queries = false;
  19. # Transaction will force a read hold on this index.
  20. query TT rowsort
  21. SELECT * FROM mz_introspection.mz_arrangement_batches_raw;
  22. ----
  23. statement ok
  24. COMMIT