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

Silent Failure to store with partially identical documents #48

Open
ashearin opened this issue Dec 12, 2024 · 0 comments
Open

Silent Failure to store with partially identical documents #48

ashearin opened this issue Dec 12, 2024 · 0 comments

Comments

@ashearin
Copy link
Contributor

During development of document changeset functionality in bomctl, we were attempting to test storing the same document more than once, with only slight differences in the metadata of the document.

So: same sbom id, different metadata contents, same nodelist content.

The storage backend was failing to store said 'revised' documents based on the on conflict, ignore directive in the code, and the only indicator that something failed was the lack of documents in the cache.

Want to use this issue for discussion and tracking, as the maintainers have been made aware of the issue.
Topics:

  • Should we be silently failing in these situations?
  • How do we handle storing slightly modified documents successfully without duplication of every entry?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant