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 creating a table, we want to calculate the number of tablets by the number of tservers in the primary cluster. When we have both read replica and primary nodes, we currently use all the tservers in the calculation, instead of just primary.
The text was updated successfully, but these errors were encountered:
Summary: When creating a table, we want to calculate the number of tablets by the number of tservers in the primary cluster. When we have both read replica and primary nodes, we currently use all the tservers in the calculation, instead of just primary. This happens when we have no placement uuid for the primary cluster, as we automatically consider a tserver primary if the passed in placement uuid is not set. Fix is a one-liner to just check equality between tserver and config placement uuid.
Test Plan: Manual testing with yb-admin: created a table and made sure it had correct number of tablets.
Reviewers: nicolas, bogdan, hector
Reviewed By: hector
Subscribers: kannan, ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D7408
When creating a table, we want to calculate the number of tablets by the number of tservers in the primary cluster. When we have both read replica and primary nodes, we currently use all the tservers in the calculation, instead of just primary.
The text was updated successfully, but these errors were encountered: