[BUGFIX] TSDB: Apply fixes from loadWAL to loadWBL

Move a couple of variables inside the scope of a goroutine, to avoid
data races.

Use `zeropool` to reduce garbage and avoid some lint warnings.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2024-11-11 18:41:30 +00:00
parent 140f4aa9ae
commit 5450e6d368