These are chat archives for atomix/atomix
We are no longer monitoring this channel, please join Slack! https://join.slack.com/t/atomixio/shared_invite/enQtNDgzNjA5MjMyMDUxLTVmMThjZDcxZDE3ZmU4ZGYwZTc2MGJiYjVjMjFkOWMyNmVjYTc5YjExYTZiOWFjODlkYmE2MjNjYzZhNjU2MjY
DistributedGroupand write from that leader. But even in that case, it’s impossible to ensure two nodes don’t believe themselves to be the leader simultaneously, so you still have to use the
DistributedGroupto ensure the leader with the highest term is the one that can write. The only thing that can be guaranteed is that only one leader will be elected for any term, that term numbers are unique and monotonically increasing, only one entry for any index will be committed, all commands will be eventually applied on all servers, etc and you have to work within the context of those guarantees to create exactly-once semantics through idempotency. Exactly-once in reality is impossible.