Vnode and localVnode currently has very little locking in place. Consequently, calling RPC methods concurrently leads to race conditions. Fix them!
Test:
go test -v github.com/buddyfs/buddystore -race
Currently shows 193 (this number is flaky) failures, and the test sometimes fails outright in -race mode because artifacts are not being cleaned up at the end of tests.
Vnode and localVnode currently has very little locking in place. Consequently, calling RPC methods concurrently leads to race conditions. Fix them!
Test:
go test -v github.com/buddyfs/buddystore -race
Currently shows 193 (this number is flaky) failures, and the test sometimes fails outright in -race mode because artifacts are not being cleaned up at the end of tests.