These are chat archives for akkadotnet/akka.net

17th
Jan 2019
Boris Lange
@langebo
Jan 17 07:32
mhh nevermind, i forgot to call .WithRole() on clustershardsettings ..
Peter Huang
@angrybug
Jan 17 15:20

Need some help with CurrentEventsByTag - is it just me not getting the API or is it borked? So I persist 200 events, checked the event store (sqlite) to make sure they're all there, now run the query. But only 100 comes back before the stream completes.

See https://gist.github.com/angrybug/fc44fa9ca80e87fe7835f71e06aa40da

If I understand what it's supposed to be doing - it should exhaust events until it stablises, i.e. while you're reading the stream, if new events get added, they'll still get picked up. Until such time others quit adding to the journal and you get to the end. Unlikely as it may be, if others keep adding events, it may never finish. Is that right?

From the looks of things, SequenceNr and Ordering columns are getting muddled up? https://github.com/akkadotnet/akka.net/blob/dev/src/contrib/persistence/Akka.Persistence.Query.Sql/EventsByTagPublisher.cs#L197

jameswilddev
@jameswilddev
Jan 17 16:27
Am I right in thinking that if the last seed node in a cluster leaves, all other nodes are effectively in an "orphaned" cluster as they won't try connecting to any of the configured seed nodes again and there is no way to "unsplit" the cluster?