From 1f96a1489e8d253404149bcd7149863b53001880 Mon Sep 17 00:00:00 2001 From: Sait Talha Nisanci Date: Tue, 13 Apr 2021 15:18:06 +0300 Subject: [PATCH] Notice users about no shard moves in rebalance --- src/backend/distributed/operations/shard_rebalancer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/distributed/operations/shard_rebalancer.c b/src/backend/distributed/operations/shard_rebalancer.c index 8c966c82a..9cb6ecd6d 100644 --- a/src/backend/distributed/operations/shard_rebalancer.c +++ b/src/backend/distributed/operations/shard_rebalancer.c @@ -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; }