nrkno / sofie-core

Sofie Core: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
125 stars 38 forks source link

feat(MOS): support OpenMedia's hot standby #1169

Open olzzon opened 6 months ago

olzzon commented 6 months ago

About the Contributor

This PR is made on behalf of BBC

Type of Contribution

This is a Feature

Current Behavior

Currently the Primary and Secondary MOS connection are expected to be online at the same time.

New Behavior

OpenMedia treats the Secondary server as a Hot Standby, so it's not connected while Primary server is connected. To handle this, a "Hot Spare" option is added in settings to the Secondary server.

When hot spare is activated, status messages are:

Testing Instructions

Connect MOS gateway to a 2 server OpenMedia setup.

Time Frame

We intend to finish the development on this feature in two weeks time.

Other Information

Status

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.87%. Comparing base (8b25212) to head (ce68543). Report is 140 commits behind head on release51.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release51 #1169 +/- ## ============================================= - Coverage 57.94% 57.87% -0.08% ============================================= Files 523 526 +3 Lines 84719 84955 +236 Branches 4415 2996 -1419 ============================================= + Hits 49094 49169 +75 - Misses 35570 35782 +212 + Partials 55 4 -51 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.