[Tarantool-patches] [PATCH 08/12] raft: introduce vtab for disk and network

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Nov 20 02:43:17 MSK 2020


>> diff --git a/src/box/raft.c b/src/box/raft.c
>> index af6e71e0b..845525660 100644
>> --- a/src/box/raft.c
>> +++ b/src/box/raft.c
>> @@ -29,7 +29,10 @@
>>    * SUCH DAMAGE.
>>    */
>>   #include "box.h"
>> +#include "error.h"
>> +#include "journal.h"
>>   #include "raft.h"
>> +#include "relay.h"
>>   #include "replication.h"
> 
> Just noticed: raft.c starts depending on xrow.h in this patch.

This is fine. box/raft.c can depend on anything. It is raftlib.c/.h,
who is not allowed to depend on anything except src/lib.


More information about the Tarantool-patches mailing list