You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
When stenographer starts up, it tries to recover all the existing
packet/index files. While doing so, it will call the NewIndexFile ()
function in which it tries few small reads of leveldb for initialization
and version confirmation... And this recovery is done serially for
each thread (here)[https://github.com/google/stenographer/blob/master/env/env.go#L258-L262]
while preventing any query from stenoread.
On a system will tens of thousand files, this process could take a
non-negligible amount of time,
So, @gconnell, would like to ask if you know about the problem and
if you do any workaround to speed it up,
When
stenographerstarts up, it tries to recover all the existingpacket/index files. While doing so, it will call the
NewIndexFile ()function in which it tries few small reads of
leveldbfor initializationand version confirmation... And this recovery is done serially for
each thread (here)[https://github.com/google/stenographer/blob/master/env/env.go#L258-L262]
while preventing any query from
stenoread.On a system will tens of thousand files, this process could take a
non-negligible amount of time,
So, @gconnell, would like to ask if you know about the problem and
if you do any workaround to speed it up,