Other issues
Leader preference
Tablets not being placed according to leader preference or placement policy
Leader preference is enforced by the load balancer component of the YB-Master service. This load balancer has a 2 minute delay in triggering after the cluster is started. For the tables created within this 2 minute window, it will take a while for the tablets to be placed according to the placement policy.
Unable to start a local installation of YugabyteDB on MacOS
When starting a local cluster on MacOS, you might see an error like the following:
ERROR: Master node present at 127.0.0.1:7000 is not reachable.
MacOS Monterey enables AirPlay receiving by default, which listens on port 7000. This conflicts with YugabyteDB.
If you are using yugabyted, use the --master_webserver_port flag when you start the cluster to change the default port number, as follows:
./bin/yugabyted start --master_webserver_port=9999
Alternatively, you can disable AirPlay receiving, then start YugabyteDB normally, and then, optionally, re-enable AirPlay receiving.