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

Switching some restate-core types to the new module style #2359

Merged
merged 10 commits into from
Nov 26, 2024
Merged

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    1288e8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8146501 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32828f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f8609e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7957559 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1c4e96 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d9c75f7 View commit details
    Browse the repository at this point in the history
  8. [TaskCenter] New API and migration

    This changes the remaining bits of the API and refactors most of the code to make use of it.
    
    What's new:
    - `TaskCenter` is now simply an zero-size struct with associated functions.
    - `restate_core::task_center::Handle` provides a way to pass a concrete task-center value around
    - `restate_core::task_center::OwnedHandle` is mostly unused at the moment, but it's meant to be a future mechanism for auto-drop (guard) task-center ownership. Primarily to be used in main fn.
    AhmedSoliman committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    928b3f2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c702ae7 View commit details
    Browse the repository at this point in the history
  10. Switching some restate-core types to the new module style

    I really dig this new style to define modules, especially for modules that have significant code/types written in their mod.rs. This makes finding the file much easier.
    
    For example, `metadata_store.rs` now has the trait `MetadataStore` instead of `metadata_store/mod.rs`
    AhmedSoliman committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    2ac41ac View commit details
    Browse the repository at this point in the history