Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#20018] yugabyted: Error staring two different local RF-1 YugabyteDB…
… instances on mac Summary: Currently on mac, starting two local RF-1 YugabyteDB instances using yugabyted where the first one has advertise address 127.0.0.1 causes the second one to fail to start. This is because a part of the yugabyted code tries to get the list of masters from the address in the provided join flag. If no join flag is given, which is the case when starting the second node, it attempts to make a request to emptystring address, which on mac ends up resolving to 127.0.0.1. The fix adds a check for empty join flag. Jira: DB-8985 Test Plan: no test plan Reviewers: nikhil Reviewed By: nikhil Subscribers: yugabyted-dev, djiang Differential Revision: https://phorge.dev.yugabyte.com/D30439
- Loading branch information