dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
45 stars 106 forks source link

Refactor MSUnmerged frontend rules (rse_type) #10942

Closed amaltaro closed 2 years ago

amaltaro commented 2 years ago

Impact of the new feature CMSWEB redirection rules

Is your feature request related to a problem? Please describe. When MSUnmerged was commissioned in CMSWEB, we needed to have a mechanism to reach specific ms-unmerged replicas, since their status and RSE data was only available in the instance memory itself. Some relevant deployment changes can be seen in: https://github.com/dmwm/deployment/pull/1075 https://github.com/dmwm/deployment/pull/1078

Now that the service has been made stateless, using MongoDB as a backend, we can remove those query string tweaks from the backends map, and simple let nginx decide which ms-unmerged replica will serve a client request.

Describe the solution you'd like Now that there is a MongoDB database behind MSUnmerged, we can change the logic between frontends and backends, like:

Describe alternatives you've considered Not change anything and keep the current behavior, which is:

Additional context None

todor-ivanov commented 2 years ago

This issue has been solved by this PR: https://github.com/dmwm/deployment/pull/1129

I am closing this one here.