You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up the redis table, we wait for a number of tservers to come up, equal to the replication factor in that call to yb-ctl. This means that if a node went down, or if you used add_node to bring up new ones, we'll timeout the wait.
Traceback (most recent call last):
File "./bin/yb-ctl", line 732, in <module>
ClusterControl().run()
File "./bin/yb-ctl", line 377, in run
self.args.func()
File "./bin/yb-ctl", line 723, in setup_redis
raise RuntimeError("Timed out waiting for Yugabyte cluster!")
The text was updated successfully, but these errors were encountered:
Summary:
Setting up the redis table was waiting for RF number of servers, which would break if you
had added any extra nodes after creating the cluster. Also, not passing num_shards to the yb-admin
command lead to the redis table coming up with 8 shards per TS instead of whatever we ask for in
yb-ctl.
Test Plan: created a cluster, added a node, called setup_redis, checked UI for load distribution
Reviewers: mikhail, hector, bharat
Reviewed By: bharat
Subscribers: kannan, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D4906
pg_stat_monitor is a bit longer; therefore, it requires some code cleanup.
Therefore I decided to turn these tasks into multiple commits and PR to avoid
various changes in one PR. This will ease the review and Q/A process.
In this commit, I have done these tasks.
1 - Fixing compilation issue, cause by previous commit, where we removed
the benchmarking code. It was causing problem for PostgreSQL-12.
When setting up the redis table, we wait for a number of tservers to come up, equal to the replication factor in that call to
yb-ctl
. This means that if a node went down, or if you usedadd_node
to bring up new ones, we'll timeout the wait.The text was updated successfully, but these errors were encountered: