v.23.10Improvement

Add Replica Groups to Experimental Replicated Database Engine

Add replica groups to the experimental Replicated database engine. Closes #53620. #54421 (Nikolay Degterinsky).
Added support for replica groups in the experimental Replicated database engine in ClickHouse.

Why it matters

This feature enables grouping of replicas within the Replicated database engine to improve replication management and provide better control over replication topology for users.

How to use it

Users can utilize replica groups by configuring them within the experimental Replicated database engine settings. This involves specifying groups of replicas according to the new configuration options introduced in the engine.