- Notifications
You must be signed in to change notification settings - Fork28
Commit63c6a24
committed
Run catalog reindexing test from3dbb317 serially, to avoid deadlocks.
The tests turn out to cause deadlocks in some circumstances. Fairlyreproducibly so with -DRELCACHE_FORCE_RELEASE-DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fixwithout disproportionate measures, but others probably should be fixed- but not in 12.We discussed removing the new tests until we can fix the issuesunderlying the deadlocks, but results from buildfarm animalmarkhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that theremight be a more severe, as of yet undiagnosed, issue (including onstable branches) with reindexing catalogs. The failure is:ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytesTherefore it seems advisable to keep the tests.It's not certain that running the tests in isolation removes the riskof deadlocks. It's possible that additional locks are needed toprotect against a concurrent auto-analyze or such.Per discussion with Tom Lane.Discussion:https://postgr.es/m/28926.1556664156@sss.pgh.pa.usBackpatch: 9.4-, like3dbb3171 parentd264bb5 commit63c6a24
File tree
6 files changed
+75
-39
lines changed- src/test/regress
- expected
- sql
6 files changed
+75
-39
lines changedLines changed: 0 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3071 | 3071 |
| |
3072 | 3072 |
| |
3073 | 3073 |
| |
3074 |
| - | |
3075 |
| - | |
3076 |
| - | |
3077 |
| - | |
3078 |
| - | |
3079 |
| - | |
3080 |
| - | |
3081 |
| - | |
3082 |
| - | |
3083 |
| - | |
3084 |
| - | |
3085 |
| - | |
3086 |
| - | |
3087 |
| - | |
3088 |
| - | |
3089 |
| - | |
3090 |
| - | |
3091 |
| - | |
3092 | 3074 |
| |
3093 | 3075 |
| |
3094 | 3076 |
| |
|
Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| 70 | + | |
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
|
Lines changed: 0 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1080 | 1080 |
| |
1081 | 1081 |
| |
1082 | 1082 |
| |
1083 |
| - | |
1084 |
| - | |
1085 |
| - | |
1086 |
| - | |
1087 |
| - | |
1088 |
| - | |
1089 |
| - | |
1090 |
| - | |
1091 |
| - | |
1092 |
| - | |
1093 |
| - | |
1094 |
| - | |
1095 |
| - | |
1096 |
| - | |
1097 |
| - | |
1098 |
| - | |
1099 |
| - | |
1100 |
| - | |
1101 |
| - | |
1102 |
| - | |
1103 |
| - | |
1104 | 1083 |
| |
1105 | 1084 |
| |
1106 | 1085 |
| |
|
Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + |
0 commit comments
Comments
(0)