Commits

Andy Gross  committed c89f87f

make devrel now sets separate riak_handoff_ports for multiple riak nodes on one machine

  • Participants
  • Parent commits 49752c8

Comments (0)

Files changed (2)

 	perl -pi -e 's/name riak/name $@/g' dev/$@/etc/vm.args
 	perl -pi -e 's/riak_web_port, \d+/riak_web_port, 809$(subst dev,,$@)/g' \
                     dev/$@/etc/app.config
+	perl -pi -e 's/riak_handoff_port, \d+/riak_handoff_port, 810$(subst dev,,$@)/g' \
+                    dev/$@/etc/app.config
 
 devclean: clean
 	rm -rf dev

File rel/overlay/etc/app.config

          %% riak_web_port is the TCP port that Riak's HTTP interface will bind to.
          {riak_web_port, 8098},
 
+         %% riak_handoff_port is the TCP port that Riak uses for intra-cluster
+         %% data handoff.
+         {riak_handoff_port, 8099},
+
          %% jiak_name is the first part of all URLs used by Riak's JSON HTTP interface.
          %%  See the JSON HTTP interface documents for more details.  If you change this,
          %%  the defaults used by some Riak HTTP clients may not work.