This was causing races in the code, when the cache was being reloaded, because back-to-back open-and-closing of the engine during testing left goroutines running. With this change the engine is completely shutdown when Close() is called on it. |
||
---|---|---|
.. | ||
b1 | ||
bz1 | ||
tsm1 | ||
wal | ||
engine.go |