pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d 6+ messages / 1 participants [nested] [flat]
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/809c9b48f4bdd11dfc088f6d0b9a6c57936c32ca Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/63c6a24ae4d66422417dfa89527824a7b4b4ceb4 Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ad791802831e70b2c86cec098139ffd3e24fa450 Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8e955f2120892bda2e4cd2018fbe39fc15a08bc6 Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3630c6bfad94b203b5b4cfbb04de64f029715959 Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d @ 2019-05-01 01:10 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2019-05-01 01:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Run catalog reindexing test from 3dbb317d32 serially, to avoid deadlocks. The tests turn out to cause deadlocks in some circumstances. Fairly reproducibly so with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Some of the deadlocks may be hard to fix without disproportionate measures, but others probably should be fixed - but not in 12. We discussed removing the new tests until we can fix the issues underlying the deadlocks, but results from buildfarm animal markhor (which runs with CLOBBER_CACHE_ALWAYS) indicates that there might be a more severe, as of yet undiagnosed, issue (including on stable branches) with reindexing catalogs. The failure is: ERROR: could not read block 0 in file "base/16384/28025": read only 0 of 8192 bytes Therefore it seems advisable to keep the tests. It's not certain that running the tests in isolation removes the risk of deadlocks. It's possible that additional locks are needed to protect against a concurrent auto-analyze or such. Per discussion with Tom Lane. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us Backpatch: 9.4-, like 3dbb317d3 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/856bc0c612bea2df5f5748a51f2cda3f3c33928d Modified Files -------------- src/test/regress/expected/create_index.out | 18 -------------- src/test/regress/expected/reindex_catalog.out | 33 ++++++++++++++++++++++++ src/test/regress/parallel_schedule | 5 ++++ src/test/regress/serial_schedule | 1 + src/test/regress/sql/create_index.sql | 21 ---------------- src/test/regress/sql/reindex_catalog.sql | 36 +++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2019-05-01 01:10 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de> 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de> 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de> 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de> 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de> 2019-05-01 01:10 pgsql: Run catalog reindexing test from 3dbb317d32 serially, to avoid d Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox