Open mvgorbunov opened 3 months ago
Hello! I have a proposal for new rolling restart: filter by datacenter option.
By now, we do not have such option and, if we want to have datacenter-by-datacenter update, we have to use "hosts-filter" option, where we set this hosts in advance(and pray that this list is constant and never changes)
Option "dc-filter"(or some more pleasant name) will allow to restart hosts in any provided DC, comma-separated
For example, rolling --dc-filter=MAN,SAS
Or something like that
Looks like this could be taken from Ydb_Discovery.NodeLocation
in Ydb_Maintenance.Node
. I will need to investigate whether this struct can be empty for some reason (just the gut feeling that it can...).
--dc-filter not implemented yet, moved it to a separate issue in ydbops repository: https://github.com/ydb-platform/ydbops/issues/5
We need an opensource utility for rolling-restart cluster (storage, dynnodes) in the next environments:
As a part of ydbops utility, using public YDB API and package for CMS requests https://github.com/ydb-platform/ydb-rolling-restart
Key features:
Additional features:
Out of scope: