pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Choose ports for test servers less likely to result in conflicts 7+ messages / 1 participants [nested] [flat]
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/33470429f2bdb967d945b72a5b553fbc6d1d8f96 Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4b4b931bcdf23f5facd49809278a3048c4fdba1f Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b7d3be64e4378ad85e180838912c774825b02b8c Modified Files -------------- src/test/perl/PostgresNode.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2e9dfa5e02e63732937fca270bbee77660401b04 Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e68cf81bfea4561518d6b890f75e7aad70b6fbb1 Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c774d31f8493a2443cd9f5f82b6266347997c1d4 Modified Files -------------- src/test/perl/PostgresNode.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Choose ports for test servers less likely to result in conflicts @ 2024-07-08 20:14 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 7+ messages in thread From: Andrew Dunstan @ 2024-07-08 20:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Choose ports for test servers less likely to result in conflicts If we choose ports in the range typically used for ephemeral ports there is a danger of encountering a port conflict due to a race condition between the time we choose the port in a range below that typically used to allocate ephemeral ports, but higher than the range typically used by well known services. Author: Jelte Fenema-Nio, with some editing by me. Discussion: https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com Backpatch to all live branches (12 and up) Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8398485957b630a6686cb83b67a17c75dc6ec54b Modified Files -------------- src/test/perl/PostgresNode.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2024-07-08 20:14 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net> 2024-07-08 20:14 pgsql: Choose ports for test servers less likely to result in conflicts Andrew Dunstan <andrew@dunslane.net>
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