File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
--
2
2
-- Check that system tables can be reindexed.
3
3
--
4
- -- Note that this test currently has to run without parallel tests
5
- -- being scheduled , as currently reindex catalog tables can cause
4
+ -- Note that this test currently is not included in the default
5
+ -- schedules , as currently reindexing catalog tables can cause
6
6
-- deadlocks:
7
7
--
8
8
-- * The lock upgrade between the ShareLock acquired for the reindex
16
16
-- tables are routinely released before commit - therefore the lock
17
17
-- held for reindexing doesn't guarantee that no running transaction
18
18
-- performed modifications in the table underlying the index.
19
+ --
20
+ -- This is particularly problematic as such conflicts can be
21
+ -- triggered even when run in isolation, as a previous session's
22
+ -- temporary table cleanup might still be running (even when the
23
+ -- session ended from a client perspective).
19
24
-- Check reindexing of whole tables
20
25
REINDEX TABLE pg_class; -- mapped, non-shared, critical
21
26
REINDEX TABLE pg_index; -- non-mapped, non-shared, critical
Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ test: create_misc create_operator create_procedure
52
52
# These depend on create_misc and create_operator
53
53
test: create_index create_index_spgist create_view index_including index_including_gist
54
54
55
- # ----------
56
- # Has to run in isolation, due to deadlock risk
57
- # ----------
58
- test: reindex_catalog
59
-
60
55
# ----------
61
56
# Another group of parallel tests
62
57
# ----------
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ test: create_index_spgist
66
66
test: create_view
67
67
test: index_including
68
68
test: index_including_gist
69
- test: reindex_catalog
70
69
test: create_aggregate
71
70
test: create_function_3
72
71
test: create_cast
Original file line number Diff line number Diff line change 1
1
--
2
2
-- Check that system tables can be reindexed.
3
3
--
4
- -- Note that this test currently has to run without parallel tests
5
- -- being scheduled , as currently reindex catalog tables can cause
4
+ -- Note that this test currently is not included in the default
5
+ -- schedules , as currently reindexing catalog tables can cause
6
6
-- deadlocks:
7
7
--
8
8
-- * The lock upgrade between the ShareLock acquired for the reindex
16
16
-- tables are routinely released before commit - therefore the lock
17
17
-- held for reindexing doesn't guarantee that no running transaction
18
18
-- performed modifications in the table underlying the index.
19
+ --
20
+ -- This is particularly problematic as such conflicts can be
21
+ -- triggered even when run in isolation, as a previous session's
22
+ -- temporary table cleanup might still be running (even when the
23
+ -- session ended from a client perspective).
19
24
20
25
21
26
-- Check reindexing of whole tables
You can’t perform that action at this time.
0 commit comments