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

Implement simple networking layer for RaftMetadataStore #1866

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    1e523be View commit details
    Browse the repository at this point in the history
  2. Make it configurable which metadata store to run

    This commit makes it configurable which metadata will be run
    by the Node when starting the Restate server.
    tillrohrmann committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    c096c57 View commit details
    Browse the repository at this point in the history
  3. Add single node Raft metadata store with memory storage

    This commit adds the skeleton of the Raft metadata store. At the moment
    only a single node with memory storage is supported.
    
    This fixes restatedev#1785.
    tillrohrmann committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    d620ae9 View commit details
    Browse the repository at this point in the history
  4. Classify ProposalDropped as Unavailable Tonic status

    The raft metadata store does not accept new proposals if there is
    no known leader. In this situation, request failed with an internal
    ProposalDropped error. This commit changes the behavior so that a
    ProposalDropped error will be translated into an unavailable Tonic
    status. That way, the request will get automatically retried.
    tillrohrmann committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    2e4b331 View commit details
    Browse the repository at this point in the history
  5. Implement simple durable Raft storage based on RocksDB

    This commit adds RocksDbStorage which implements raft::Storage.
    The RocksDbStorage is a durable storage implementation which is
    used by the RaftMetadataStore to store the raft state durably.
    
    This fixes restatedev#1791.
    tillrohrmann committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a6d99f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    cc49b41 View commit details
    Browse the repository at this point in the history