We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在写入文件之前将m_LogBuffer中的数据转移至了一个临时的AutoBuffer, AutoBuffer没有进行mmap映射,在Flush->WriteToFile之间若应用被杀死,可能导致日志丢失。
The text was updated successfully, but these errors were encountered:
是的,会存在这种情况丢失数据的情况 考虑到使用过多mmap,涉及数据恢复会增加很大的逻辑复杂性。 边界条件的收益不是很高。所以没有再用mmap去兜底。 腾讯的xlog目前也是这种情况。
Sorry, something went wrong.
No branches or pull requests
在写入文件之前将m_LogBuffer中的数据转移至了一个临时的AutoBuffer, AutoBuffer没有进行mmap映射,在Flush->WriteToFile之间若应用被杀死,可能导致日志丢失。
The text was updated successfully, but these errors were encountered: