Karl Nilsson

Results 176 comments of Karl Nilsson

https://web.archive.org/web/20160304221113/http://atomix.io/copycat/docs/internals/ Some prior art - I would prefer to explore the approach where the state machine tracks the indexes it needs rather than incrementally emitting the indexes it doesn't need....

log compaction would work but only if the operations in the log a primitive `put`, `delete` type operations. A [CAS](https://en.wikipedia.org/wiki/Compare-and-swap) operation or any operation that depends on prior data means...

In fact there is a general issue around snapshot installations into servers with old machine versions. What should they do? they can't set the installed snapshot state as the current...

Can you just keep a map of Pid => Entity?

If anything it complicates the API for machine implementors as they already have a unique identifier in the pid and now need to provide yet another arbitrary one. Since you...

Ok I sortof get what you are asking for but there is no need to search if you maintain a map like `#{pid() => entity1 | entity2}` right? you are...

Rather than returning an error for duplicate commands the server could simply return an applied notification (assuming the corresponding command's index has been committed). Also for simplicity we could accept...

this could apply to both full candidate elections as well as pre-vote

@luos try the latest OCI image from RabbitMQ master - should improve matters considerably. https://github.com/rabbitmq/rabbitmq-server/runs/4191419251?check_suite_focus=true

Possibly but we need to know at init that we have a ra server that has a decent chance of not just immediately crashing so taking stuff out of init...