Is detection of open by multiple processes/threads possible?
shanemhansen opened this issue · 0 comments
shanemhansen commented
I'm working on a deployment model where I spin up a new process before killing off the old process. I understand ybc doesn't support being opened from multiple processes but I'm wondering if there is a way that I can detect if a cache file is currently open before opening it in the new process.
If not, I'll probably just build my own signaling mechanism. I know sqlite has similar restrictions but does manage to avoid corruption.
Thanks!