valepakh commented on code in PR #5685: URL: https://github.com/apache/ignite-3/pull/5685#discussion_r2079575816
########## modules/catalog/src/main/java/org/apache/ignite/internal/catalog/commands/AlterZoneCommand.java: ########## @@ -136,15 +142,20 @@ private CatalogZoneDescriptor fromParamsAndPreviousValue(CatalogZoneDescriptor p CatalogStorageProfilesDescriptor storageProfiles = storageProfileParams != null ? fromParams(storageProfileParams) : previous.storageProfiles(); + // Validate quorum size here since its boundaries depend on the current number of replicas + int replicas = requireNonNullElse(this.replicas, previous.replicas()); + validateQuorum(quorumSize, replicas); Review Comment: Kept the validation when user specifies the quorum size -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org