Notice users about no shard moves in rebalance

rebalance/notice_for_no_move
Sait Talha Nisanci 2021-04-13 15:18:06 +03:00
parent fe5c985e1d
commit 1f96a1489e
1 changed files with 1 additions and 0 deletions

View File

@ -1102,6 +1102,7 @@ RebalanceTableShards(RebalanceOptions *options, Oid shardReplicationModeOid)
if (list_length(placementUpdateList) == 0)
{
ereport(NOTICE, (errmsg("There are no rebalance moves for your current cluster.")));
return;
}