-
Notifications
You must be signed in to change notification settings - Fork 981
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
Add causality region column and implement isolation rules #4162
Commits on Jan 23, 2023
-
feature(offchain): Add
causality_region
column to entity tablesFor now this just tracks the tables that need the column and adds the column to the DDL, but still unconditionally inserts 0. Inserting the correct causality region is follow up work.
Configuration menu - View commit details
-
Copy full SHA for 074e99f - Browse repository at this point
Copy the full SHA 074e99fView commit details -
store: Move
has_causality_region
to manifest, rename to `entities_w……ith_causality_region`
Configuration menu - View commit details
-
Copy full SHA for 535f912 - Browse repository at this point
Copy the full SHA 535f912View commit details -
*: Add
causality_region
to EntityKeyThe tricky part was changing `get_many` to return the entity key.
Configuration menu - View commit details
-
Copy full SHA for 648a6b7 - Browse repository at this point
Copy the full SHA 648a6b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 091155c - Browse repository at this point
Copy the full SHA 091155cView commit details -
store: Read isolation between causality regions
It was just necessary to make sure that `find` and `find_many` use the causality region in their where clause.
Configuration menu - View commit details
-
Copy full SHA for 1399f74 - Browse repository at this point
Copy the full SHA 1399f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f1698 - Browse repository at this point
Copy the full SHA c8f1698View commit details -
provider: Make stop idempotent
Callers wanted that anyways, and it helps tests.
Configuration menu - View commit details
-
Copy full SHA for bb6d9a5 - Browse repository at this point
Copy the full SHA bb6d9a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7de71 - Browse repository at this point
Copy the full SHA 9c7de71View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea6ec6f - Browse repository at this point
Copy the full SHA ea6ec6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c27c39 - Browse repository at this point
Copy the full SHA 5c27c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a06bc92 - Browse repository at this point
Copy the full SHA a06bc92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d0463a - Browse repository at this point
Copy the full SHA 0d0463aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6bc96 - Browse repository at this point
Copy the full SHA 7e6bc96View commit details