rhymu8354 / OmniaRegna

This holds public information about OmniaRegna (https://omniaregna.com/), an online RPG. Issues for the game may be reported here or in the game itself.
8 stars 1 forks source link

Orchestrator: fix version management #226

Closed rhymu8354 closed 4 years ago

rhymu8354 commented 4 years ago

Occasionally in production an individual server will crash, and the cause is unknown. It doesn't cause any big issues because the other servers will keep running and take over the cluster. Unfortunately, the version the crashed server was running will have been marked "bad", and the Orchestrator will not run this version anymore.

The reason for marking a version "bad" was to avoid the situation where a server had some critical flaw and would repeatedly crash, causing the game to halt. So far, this hasn't happened.

There is not currently any way to clear the "bad" version flag other than to edit the versions.json file on the host.

rhymu8354 commented 4 years ago

Design changes:

rhymu8354 commented 4 years ago

I made the "bad" flag visible to the GM, and now allow the GM to toggle it.

rhymu8354 commented 4 years ago

I added a crash counter and configurable time window with crash threshold.