Alex Zhebrak
Alex Zhebrak
Hi! Good idea in case you are not using celery in your project and want to keep your stack as minimal as possible.
Hey, @ultrabug! Raft algorithm does not provide this kind of corruption fixing mechanism. In your example: 1. We commit several log entries for the follower. 2. Followers' last log entry...
Are you sure it's not the last entry or entries that you remove when it's fixing itself correctly? Follower handles updates synchronously, so I can't see any race conditions here.
Follower only fixes log entries when the last one does not match leaders' index & term. So it's not possible to erase something when current entry checks out. If the...
Yes, I as said before, it fixes all inconsistency until the last followers' index and term match the one coming from the leader. It removes everything after the matching index-term...
Hey Marlon! Sounds good to me, how about making DummyCryptor in _cryptor.py_ with encrypt/decrypt that just return data as is and an option in configuration which enables it?
@avinash240 you can now pass _crypto_enabled=False_ to use DummyCryptor instead of proper one. You can also force pip to ignore dependencies with _--no-deps_ flag. Please, let me know if it...
You are right, my bad! Fixed it to match serializer behaviour, _{'cryptor': raftos.cryptors.DummyCryptor}_. Should be working right now. I don't want to introduce _raftos[cryptography]_ style since some folks (I don't...
As far as I know, there is no away to ignore particular dependency with pip. Supporting dependencies manually doesn't seem to be right way for sure... I'll think about it,...
Thank you! Do you think there is a way to avoid split leading with election-only case? For example leader can check whether he has a majority of followers at any...