04-while-clusterd-down.td 805 B

1234567891011121314151617181920
  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. # With clusterd down, the upper of t1 will not advance. However, the global timestamp will advance.
  10. # In strict serializable mode we may select a timestamp that is ahead of on of the table's upper and hang forever.
  11. > SET transaction_isolation = serializable
  12. # Increased from the default because of CI flakiness.
  13. $ set-sql-timeout duration=180s
  14. > SELECT COUNT(*) FROM t1;
  15. 0
  16. > SET transaction_isolation = 'strict serializable'