lni
lni
@i512 first of all, you have a valid scenario as you explained above, I agree that dragonboat should be updated for handling such case. below are my questions - we...
@sprappcom if performance is important, make sure you use tan as your logdb implementation.
@sprappcom I will convert it to rust when AI can 100% correctly doing it without any human intervention. ;-)
please see the README.md file https://github.com/lni/dragonboat/blob/master/internal/tan/README.md
sorry but I am not sure whether I understand your issue. could you please provide a concrete example on the sequence of calls you want. thanks.
> the ratio of my reads to writes is around 100:1. some of these reads have to do a write (as they generate data) and that has to be rafted....
which type of StateMachine is used in your code? is it IStateMachine? please note that IStateMachine uses a RWMutex internally to guard write and read accesses, while the other two...
> i have set the timeout for the read initiated `SyncPropose` to be smaller than the write initiated one so you have SyncRead() that might start SyncPropose() and SyncPropose() calls...
I believe - 1. you can't initiate a SyncPropose() in your SM's Update() method (i.e. SyncPropose() initiated by another SyncPropose()), as both of those two SyncPropose() calls will have to...
> i have a SyncRead() initiate a SyncPropose() this should be fine. if you read nodehost.go on how SyncRead() is implemented, it is pretty straight forward. It waits for the...