Content-Length: 275978 | pFad | http://github.com/postgrespro/mmts/commit/d5d1254935155ab2a714a39ca94e9bc0334e382f

73 Fix fixed ports in run.pl. · postgrespro/mmts@d5d1254 · GitHub
Skip to content

Commit d5d1254

Browse files
committed
Fix fixed ports in run.pl.
1 parent 082cac7 commit d5d1254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cluster.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sub mm_get_free_port
3232
{
3333

3434
# advance $port, wrapping correctly around range end
35-
$port = 26000 if ++$port >= 27000;
35+
$port = 26000 if ++$port == 27000;
3636
print "# Checking port $port\n";
3737

3838
# Check first that candidate port number is not included in

run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if ($action eq "start")
2121
{
22-
$PostgresNode::last_port_assigned = 65431;
22+
$Cluster::last_port_assigned = 65431;
2323

2424
my $cluster = new Cluster($n_nodes, $referee);
2525
$cluster->init();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/mmts/commit/d5d1254935155ab2a714a39ca94e9bc0334e382f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy