pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. 4+ messages / 1 participants [nested] [flat]
* pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. @ 2019-04-15 03:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2019-04-15 03:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Commit c098509927f9a49ebceb301a2cb6a477ecd4ac3c changed PostgresNode::get_new_node() to probe 0.0.0.0 instead of 127.0.0.1, but the new test was less effective for Windows native Perl. This increased the failure rate of buildfarm members bowerbird and jacana. Instead, test 0.0.0.0 and concrete addresses. This restores the old level of defense, but the algorithm is still subject to its longstanding time of check to time of use race condition. Back-patch to 9.6, like the previous change. Discussion: https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxI... Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0bdf6d635e42f415c023393503a575d047940722 Modified Files -------------- src/test/perl/PostgresNode.pm | 62 ++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. @ 2019-04-15 03:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2019-04-15 03:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Commit c098509927f9a49ebceb301a2cb6a477ecd4ac3c changed PostgresNode::get_new_node() to probe 0.0.0.0 instead of 127.0.0.1, but the new test was less effective for Windows native Perl. This increased the failure rate of buildfarm members bowerbird and jacana. Instead, test 0.0.0.0 and concrete addresses. This restores the old level of defense, but the algorithm is still subject to its longstanding time of check to time of use race condition. Back-patch to 9.6, like the previous change. Discussion: https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxI... Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4ab02e8156270592c1eae03d5b9ee36bb8c761c2 Modified Files -------------- src/test/perl/PostgresNode.pm | 62 ++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. @ 2019-04-15 03:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2019-04-15 03:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Commit c098509927f9a49ebceb301a2cb6a477ecd4ac3c changed PostgresNode::get_new_node() to probe 0.0.0.0 instead of 127.0.0.1, but the new test was less effective for Windows native Perl. This increased the failure rate of buildfarm members bowerbird and jacana. Instead, test 0.0.0.0 and concrete addresses. This restores the old level of defense, but the algorithm is still subject to its longstanding time of check to time of use race condition. Back-patch to 9.6, like the previous change. Discussion: https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxI... Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9f65081cf74b402e3e136e787e7efcb5bd32d2b4 Modified Files -------------- src/test/perl/PostgresNode.pm | 62 ++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. @ 2019-04-15 03:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2019-04-15 03:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Commit c098509927f9a49ebceb301a2cb6a477ecd4ac3c changed PostgresNode::get_new_node() to probe 0.0.0.0 instead of 127.0.0.1, but the new test was less effective for Windows native Perl. This increased the failure rate of buildfarm members bowerbird and jacana. Instead, test 0.0.0.0 and concrete addresses. This restores the old level of defense, but the algorithm is still subject to its longstanding time of check to time of use race condition. Back-patch to 9.6, like the previous change. Discussion: https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxI... Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4543ef36f0efee9d8c6d7950a05c951a480c0f3a Modified Files -------------- src/test/perl/PostgresNode.pm | 62 ++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-04-15 03:14 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-04-15 03:14 pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Noah Misch <noah@leadboat.com> 2019-04-15 03:14 pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Noah Misch <noah@leadboat.com> 2019-04-15 03:14 pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Noah Misch <noah@leadboat.com> 2019-04-15 03:14 pgsql: Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port. Noah Misch <noah@leadboat.com>
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