Skip to content

Race conditions in the herd package #51

@vj396

Description

@vj396

Summary
We we have a large mdb.json file, say 100+, the dominator binary throws off a data race, when ran under the race detector.

this race condition seems to originate in dom/herd package, where a lot of read/writes are happening in a concurrency unsafe manner in the sub.go file, under methods connectAndPoll.

this originates from the usage of the derived datatype subStatus.

Is there any plan on addressing these data races, and leverage atomic operations for read/writes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions