Skip to content

Operations on local files from different hosts have non-deterministic ordering #3757

Description

@sporksmith

If, during the same scheduler round, one host writes to a file and another one reads from it, it'll currently be nondeterministic which one happens first.

We could try to prevent this problem; maybe using overlay file systems so that hosts don't see writes from other hosts. This could be fairly complicated and heavy-weight though.

It might not be that difficult to detect such problems. e.g. we could record the sets of files that each host reads and writes and compare at the end of the simulation or between scheduler rounds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Component

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions