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

Fix thread sanitizer issues #8

Merged
merged 1 commit into from
Aug 4, 2019
Merged

Fix thread sanitizer issues #8

merged 1 commit into from
Aug 4, 2019

Commits on Aug 4, 2019

  1. Fix thread sanitizer issues

    * No thread detaching: all background threads including Asio workers
    should be in control.
    
    * Changed the type of `raft_params` from `unique_ptr` to `shared_ptr`,
    as it can be dynamically changed and we should guarantee MVCC.
    
    * `ctx_` should use lock around `raft_params_`, to avoid data race.
    
    * Fixed some test issues.
    greensky00 committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    463407e View commit details
    Browse the repository at this point in the history