Skip to content

Fix race conditions #2

Description

@anupcshan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions