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

Add causality region column and implement isolation rules #4162

Merged
merged 13 commits into from
Jan 25, 2023

Commits on Jan 23, 2023

  1. feature(offchain): Add causality_region column to entity tables

    For 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.
    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    074e99f View commit details
    Browse the repository at this point in the history
  2. store: Move has_causality_region to manifest, rename to `entities_w…

    …ith_causality_region`
    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    535f912 View commit details
    Browse the repository at this point in the history
  3. *: Add causality_region to EntityKey

    The tricky part was changing `get_many` to return the entity key.
    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    648a6b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    091155c View commit details
    Browse the repository at this point in the history
  5. 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.
    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    1399f74 View commit details
    Browse the repository at this point in the history
  6. fix: Fix release build

    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    c8f1698 View commit details
    Browse the repository at this point in the history
  7. provider: Make stop idempotent

    Callers wanted that anyways, and it helps tests.
    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    bb6d9a5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9c7de71 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ea6ec6f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5c27c39 View commit details
    Browse the repository at this point in the history
  11. test: Fix unit test

    leoyvens committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    a06bc92 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0d0463a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7e6bc96 View commit details
    Browse the repository at this point in the history