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

Feature: add 'singlethreaded' raft mode #878

Merged
merged 3 commits into from
Jun 27, 2023
Merged

Feature: add 'singlethreaded' raft mode #878

merged 3 commits into from
Jun 27, 2023

Commits on Jun 26, 2023

  1. Feature: add 'singlethreaded' raft mode

    - 'singlethreaded' compile-time feature gate.
    
    The new feature gate forces the raft instance to be used by a single thread by not implementing `Send` for certain data structures and substituting calls to `tokio::spawn` with `tokio::spawn_local` when using the `tokio` asynchronous runtime.
    
    - Fix: [datafuselabs#862](datafuselabs#862)
    
    **Checklist**
    
    - [x] Updated guide with pertinent info (may not always apply). <!-- Mark complete if nothing to do. -->
    - [o] Squash down commits to one or two logical commits which clearly describe the work you've done.
    - [o] Unittest is a friend:)
    wvwwvwwv committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    d58fa6e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Fixup: update doc and ci

    wvwwvwwv committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    edb9c46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15aa47f View commit details
    Browse the repository at this point in the history