libopenstorage / openstorage

A multi-host clustered implementation of the open storage specification
Apache License 2.0
526 stars 118 forks source link

PWX-36511 Expose API to return a set of nodes that can be upgraded in parallel #2440

Closed adityadani closed 6 months ago

adityadani commented 6 months ago

What this PR does / why we need it:
This API takes an input list of nodes from which the server will return a set that doesn't have any common volume within them. This ensures that if these nodes are upgraded at once, then a volume with 1+ replica has at least one replica somewhere which will be up.

Which issue(s) this PR fixes (optional)
PWX-36511