Skip to content

Commit 92c4676

Browse files
committed
Stabilize ordered_append test
Plan switches from Index Only Scan to Index Scan suggest visibility map race condition. Adding FREEZE to the VACUUM command makes sure visibility map is up to date and reduces plan time inconsistencies.
1 parent 1a0718f commit 92c4676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsl/test/sql/include/ordered_append.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
SET timescaledb.enable_decompression_sorted_merge = 0;
1313

14-
vacuum analyze :TEST_TABLE;
14+
vacuum (analyze, freeze) :TEST_TABLE;
1515

1616
-- test ASC for ordered chunks
1717
:PREFIX

0 commit comments

Comments
 (0)