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

Source of truth for transaction errors (index vs. event stream) #26

Open
lliming opened this issue Sep 18, 2024 · 1 comment
Open

Source of truth for transaction errors (index vs. event stream) #26

lliming opened this issue Sep 18, 2024 · 1 comment
Assignees

Comments

@lliming
Copy link
Contributor

lliming commented Sep 18, 2024

We assume that replica add and remove actions are specified as deltas against a published document since currently the only mechanism available in the STAC Transaction API to update alternate assets is an RFC7386 PATCH. To apply a PATCH to a document in a distributed system we must choose some source(s) of truth (or state) against which that delta will be applied and think about how to resolve discrepancies if the update must be applied to multiple sources of truth in different parts of the system.

There are multiple ways to design a system that can resolve partial updates, we'll outline two here that we think we have reasonable paths to implement and discuss some of the trade offs made with each design.

GOAL: Decide which approach we'll take in the ESGF-NG architecture.

@lliming
Copy link
Contributor Author

lliming commented Sep 18, 2024

PR #25 provides two options, including sequence diagrams and pros/cons for each.

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

2 participants