Sync daemon authority migration
This commit is contained in:
parent
030b4b5d74
commit
39a0dc8737
295 changed files with 25121 additions and 7360 deletions
|
|
@ -3,14 +3,14 @@ using MessagePack;
|
|||
|
||||
namespace Aetheria.State.Documents;
|
||||
|
||||
[CultDocument("aetheria.eve_command_drain_status", "aetheria.eve_command_drain_status.v1")]
|
||||
[CultDocument("aetheria.eve_command_acceptance_status", "aetheria.eve_command_acceptance_status.v1")]
|
||||
[CultGlobal]
|
||||
[MessagePackObject]
|
||||
public sealed class AetheriaEveCommandDrainStatus
|
||||
public sealed class AetheriaEveCommandAcceptanceStatus
|
||||
{
|
||||
[Key(0)]
|
||||
[CultName]
|
||||
public string Name { get; set; } = "Aetheria Eve command drain";
|
||||
public string Name { get; set; } = "Aetheria Eve command acceptance";
|
||||
|
||||
[Key(1)]
|
||||
[CultIndex("runtimeId")]
|
||||
|
|
@ -26,7 +26,7 @@ public sealed class AetheriaEveCommandDrainStatus
|
|||
public string LastAcceptedAtUtc { get; set; } = "";
|
||||
|
||||
[Key(5)]
|
||||
public int PendingBeforeApply { get; set; }
|
||||
public int ObservedBeforeAccept { get; set; }
|
||||
|
||||
[Key(6)]
|
||||
public int CommandsAccepted { get; set; }
|
||||
|
|
@ -60,4 +60,13 @@ public sealed class AetheriaEveCommandDrainStatus
|
|||
|
||||
[Key(16)]
|
||||
public int AppliedVerseHostCommands { get; set; }
|
||||
|
||||
[Key(17)]
|
||||
public int AppliedInputSettingsCommands { get; set; }
|
||||
|
||||
[Key(18)]
|
||||
public int AppliedLoadoutTemplateCommands { get; set; }
|
||||
|
||||
[Key(19)]
|
||||
public string[] AccountedCommandIds { get; set; } = [];
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
using GameCult.Caching;
|
||||
using MessagePack;
|
||||
|
||||
namespace Aetheria.State.Documents;
|
||||
|
||||
[CultDocument("aetheria.runtime_commit_drain_status", "aetheria.runtime_commit_drain_status.v1")]
|
||||
[CultGlobal]
|
||||
[MessagePackObject]
|
||||
public sealed class AetheriaRuntimeCommitDrainStatus
|
||||
{
|
||||
[Key(0)]
|
||||
[CultName]
|
||||
public string Name { get; set; } = "Aetheria runtime commit drain";
|
||||
|
||||
[Key(1)]
|
||||
[CultIndex("runtimeId")]
|
||||
public string RuntimeId { get; set; } = "";
|
||||
|
||||
[Key(2)]
|
||||
public string StatePath { get; set; } = "";
|
||||
|
||||
[Key(3)]
|
||||
public string LastPollAtUtc { get; set; } = "";
|
||||
|
||||
[Key(4)]
|
||||
public string LastAppliedAtUtc { get; set; } = "";
|
||||
|
||||
[Key(5)]
|
||||
public int PendingBeforeApply { get; set; }
|
||||
|
||||
[Key(6)]
|
||||
public int CommandsApplied { get; set; }
|
||||
|
||||
[Key(7)]
|
||||
public int AppliedPlayerSettings { get; set; }
|
||||
|
||||
[Key(8)]
|
||||
public int AppliedLoadoutTemplates { get; set; }
|
||||
|
||||
[Key(9)]
|
||||
public int AppliedRunCheckpoints { get; set; }
|
||||
|
||||
[Key(10)]
|
||||
public int ConsecutiveFailures { get; set; }
|
||||
|
||||
[Key(11)]
|
||||
public string LastError { get; set; } = "";
|
||||
|
||||
[Key(12)]
|
||||
public string Status { get; set; } = "ok";
|
||||
}
|
||||
Loading…
Reference in a new issue