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
Some users store redo-log on NFS and they found some operations are too expensive for NFS:
We can see the latency of fsync, rename and trunc is too high.
fsync
rename
trunc
fsync is called in WriteLog and flushLogMeta; rename is called in flush and flushLogMeta. trunc is only called in flushLogMeta.
WriteLog
flushLogMeta
flush
And, flushLogMeta holds LogWriter.metaLock so it can block setMaxCommitTs and GetCurrentResolvedTs.
LogWriter.metaLock
setMaxCommitTs
GetCurrentResolvedTs
We need to
LogWrite.metaLock
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Before asking a question, make sure you have
What is your question?
Some users store redo-log on NFS and they found some operations are too expensive for NFS:
We can see the latency of
fsync
,rename
andtrunc
is too high.fsync
is called inWriteLog
andflushLogMeta
;rename
is called inflush
andflushLogMeta
.trunc
is only called influshLogMeta
.And,
flushLogMeta
holdsLogWriter.metaLock
so it can blocksetMaxCommitTs
andGetCurrentResolvedTs
.We need to
LogWrite.metaLock
.The text was updated successfully, but these errors were encountered: