You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class SiloStatusListener : ISiloStatusListener
{
public void SiloStatusChangeNotification(SiloAddress updatedSilo, SiloStatus status)
{
Logger.LogWarning($"Silo '{updatedSilo.ToParsableString()}' status: {status}");
}
}
Startup code:
ISiloHost siloHost = BuildSilo(); // Using ADO.NET provider for Clustering (MySql)
var oracle = siloHost.Services.GetService<ISiloStatusOracle>();
var result = oracle.SubscribeToSiloStatusEvents(new SiloStatusListener()); // Returns true
Listener:
Startup code:
Steps to reproduce the issue:
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11111@310110425' status: Created
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11111@310110425' status: Joining
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11111@310110425' status: Active
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11111@310110425' status: Active
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11112@310110682' status: Created
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11112@310110682' status: Joining
warn: MyApp.Silo.Program[0]
Silo '10.0.75.1:11112@310110682' status: Active
Note that Silo Fixing typo in README #1 does not get Status updates about Silo Exclude code-gen files from repo #2.
Wait for some time and stop Silo Fixing typo in README #1 or Silo Exclude code-gen files from repo #2.
Neither Silo Fixing typo in README #1 nor Silo Exclude code-gen files from repo #2 receive new Silo Status Events.
Reproducible on Version 2.4.3.