Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve consistency expectations of the OMNIBOR_DIR #61

Open
alilleybrinker opened this issue Sep 20, 2023 · 0 comments
Open

Resolve consistency expectations of the OMNIBOR_DIR #61

alilleybrinker opened this issue Sep 20, 2023 · 0 comments
Labels
c-spec Category: Improvements or additions to the OmniBOR specification

Comments

@alilleybrinker
Copy link
Member

@bharsesh raised multiple questions in #39 relating to any consistency expectations for the OMNIBOR_DIR, including:

  • Can the OMNIBOR_DIR be assumed to be write-only?
  • Can OmniBOR documents be read during writes to the OMNIBOR_DIR?
  • Do we want to require that any writer to OMNIBOR_DIR can read their own writes?
  • Is a tool allowed to read and write within the OMNIBOR_DIR at the same time?
  • How do we handle two tools attempting to read/write within the OMNIBOR_DIR at the same time?

This basically comes down to what sort of locking behavior, if any, we want to require. Considerations almost certainly include that many build tools already implement their own locking behavior for build directories and provide associated guarantees for artifacts. This also gets into the vagaries of commitment of data by different filesystems, so there may be limits on what we can ourselves require / guarantee.

@alilleybrinker alilleybrinker added the c-spec Category: Improvements or additions to the OmniBOR specification label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-spec Category: Improvements or additions to the OmniBOR specification
Projects
None yet
Development

No branches or pull requests

1 participant