Add upgrade tests with non-transactional metadata sync.

nontransactional-citus-upgrade-fix
Gokhan Gulbiz 2023-09-28 09:48:30 +03:00
parent c323f49e83
commit 1fdcd5b389
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ BEGIN;
CALL citus_finish_citus_upgrade(); CALL citus_finish_citus_upgrade();
ROLLBACK; ROLLBACK;
-- we should be able to upgrade with nontransactional metadata sync as well
SET citus.metadata_sync_mode TO 'nontransactional';
BEGIN;
CALL citus_finish_citus_upgrade();
ROLLBACK;
RESET citus.metadata_sync_mode;
-- do the actual job -- do the actual job
CALL citus_finish_citus_upgrade(); CALL citus_finish_citus_upgrade();