[Tarantool-patches] [PATCH v4 07/12] raft: filter rows based on known peer terms

Serge Petrenko sergepetrenko at tarantool.org
Tue Apr 20 23:31:45 MSK 2021



20.04.2021 23:29, Serge Petrenko via Tarantool-patches пишет:
>
>
> 16.04.2021 19:25, Serge Petrenko пишет:
>> Start writing the actual leader term together with the PROMOTE request
>> and process terms in PROMOTE requests on receiver side.
>>
>> Make applier only apply synchronous transactions from the instance which
>> has the greatest term as received in PROMOTE requests.
>>
>> Closes #5445
>>
>
> A couple of fixes on top:
> Only apply  PROMOTE when it's for a greater term than already received.
> If promote tries to confirm entries for instance id other than 
> limbo->owner_id
> rollback everything that's unconfirmed.

Sorry, discard this. election_qsync_stress hangs again with this change.

I haven't pushed it yet anyway.

-- 
Serge Petrenko



More information about the Tarantool-patches mailing list