Tencent / phxpaxos

The Paxos library implemented in C++ that has been used in the WeChat production environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

一个log文件(.f文件)里面存放几个instance?

ForSearchCon opened this issue · comments

在LogStore::Append里面似乎是当前文件大小不够了才会创建一个新的,这里给人的感觉是一个log文件里面可以存放多个instance,但是Database::Del里面根据llInstanceID找到sFileID,删除的时候根据sFileID删除log文件,这里给人的感觉是一个log文件里面只有一个instance,不然不就把其他instance的内容删除了么?