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

Implementing Flexible Raft with NWR #1040

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Commits on Oct 30, 2023

  1. Implementing Flexible Raft with NWR (sofastack#1017)

    * feat(iterator):Auto commit mode for applying log iterator
    
    * feat(iterator):Auto commit mode for applying log iterator
    
    * feat(iterator):Correction parameter name
    
    * feat(iterator):mvn compile
    
    * feat(iterator):Modify comments and annotations
    
    * feat(iterator):Modify comments
    
    * feat(iterator):Modify comments
    
    * feat(rfcs):Add rfcs for Flexible-Raft-with-NWR
    
    * feat(rfcs):Add stepDown change logic and modify parameter name for rfcs
    
    * feat(rfcs):Modify factor calculation rules for rfcs
    
    * feat(rfcs):Modify some language expressions
    
    * feat(rfcs):Implementing Flexible Raft with NWR
    
    * feat(rfcs):compile project
    
    * feat(rfcs):compile project
    
    * feat(rfcs):Remove useless and redundant code
    
    * feat(rfcs):Add rfcs
    
    * feat(flexible):add flexible mode fot Jraft
    
    * feat(flexible):Modify rfc doc
    
    * feat(flexible):Modify quorum code design
    
    * feat(factor):Add ResetFactor API
    
    * feat(flexible):compile code
    
    * feat(flexible):modify code
    
    * feat(flexible):modify code
    
    * feat(flexible):compile code
    
    * fix(flexible):modify raft.desc
    
    * fix(flexible):modify MarshallerHelper
    
    * fix(flexible):modify MarshallerHelper
    
    * fix(flexible):modify RAFT.DESC
    
    * fix(flexible):Modifying comments and code formats
    
    * fix(flexible):Added factor persistence for log storage and Adapt to write heartbeat for w<r situations
    
    * fix(flexible):compile code
    
    * fix(flexible):modify test
    
    * fix(flexible):modify test
    
    * fix(flexible):modify code with proto version changing
    
    * fix(flexible):modify code with proto version changing
    
    * fix(flexible):modify code format
    
    * fix(flexible):modify code format
    
    * fix(flexible):change protoc version from 2.6.1 to 3.5.1
    
    * fix(flexible):modify Class RaftError
    
    * fix(flexible):modify Class format
    
    * fix(flexible):modify Class format
    
    * fix(flexible):modify Class format
    
    * fix(flexible):change int64 to int32 in proto
    
    * fix(flexible):change int64 to int32 in proto
    
    * fix(flexible):avoid importing *
    
    * fix(flexible):change comment
    
    * fix(flexible):add this for voteCtx and preVoteCtx
    
    * fix(flexible):change import order
    
    * fix(flexible):change import order
    
    * feat(flexible):Place attributes such as quorum, factor, and isEnableFlexible into Configuration
    
    * feat(flexible):check format
    
    * feat(flexible):Add test code for resetFactor API
    
    * feat(flexible):modify code format
    
    * feat(flexible):enable flexible check
    
    * feat(flexible):comment useless code
    
    * feat(flexible):modify code
    
    * feat(flexible):Persisting the quorum attribute
    
    * fix(flexible):Delete redundant haveFactor judgments
    
    * fix(flexible):Add necessary null judgment
    
    * fix(flexible):remove config null parameter
    
    * fix(flexible):modify code
    
    * fix(flexible):modify some logic mistakes、remove unused method and add BallotTest
    
    * fix(flexible):modify config check
    
    * fix(flexible):modify config check
    
    * fix(flexible):remove Redundant code
    
    * fix(flexible):remove some check and add NodeOptions.setFactor method
    
    * fix(flexible):remove redundant code
    
    * fix(flexible):解决majority模式下,空指针异常问题
    
    * fix(flexible):修改部分set quorum逻辑,
    
    * feature(flexible):添加flexible raft 测试模块
    
    * feature(flexible):check code format
    
    * feature(flexible):remove code
    
    * feature(flexible):remove redundant blank lines
    
    * feature(flexible):modify test module
    
    * fix(LogManagerTest):modify code format
    
    * fix(LogManagerTest):modify code format
    
    * fix(LogManagerTest):modify code format
    
    * feature(flexible):modify test module in core
    
    * fix(test_core):modify test—core code
    
    * fix(test_module):modify test_core
    
    * fix(test_module):modify testTripleNodesV1V2Codec temporarily
    
    * fix(test_module):modify testTripleNodesV1V2Codec temporarily
    
    * fix(test_module):modify testTripleNodesV1V2Codec temporarily
    
    * fix(test_module):modify testTripleNodesV1V2Codec temporarily
    
    * fix(test_module):modify V1V2Codec error
    
    * fix(test_module):modify V1V2Codec error
    
    * fix(test_module):modify V1V2Codec error
    
    * fix(test_module):modify resetPeers error
    
    * fix(test_module):modify changePeerChaps test error
    
    * fix(test_module):modify v1decoder error
    
    * fix(test_module):modify v1decoder error
    
    * fix(test_module):modify storage test
    
    * fix(test_module):modify storage test
    
    * fix(test_module):modify node test
    
    * fix(test_module):modify node test
    
    * modify code
    
    * modify code
    
    * modify code
    
    ---------
    
    Co-authored-by: yuanziwei <[email protected]>
    1294566108 and yuanziwei authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    49d8842 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. support flexible raft

    yuanziwei committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    7b2f0d5 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

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

Commits on Jan 5, 2024

  1. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    aa4b4a1 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/feature/flexible_raft' into feat…

    …ure/flexible_raft
    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    f8137df View commit details
    Browse the repository at this point in the history
  3. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    2af46e3 View commit details
    Browse the repository at this point in the history
  4. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    14b4f6f View commit details
    Browse the repository at this point in the history
  5. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    0f6efbe View commit details
    Browse the repository at this point in the history
  6. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    08c4c21 View commit details
    Browse the repository at this point in the history
  7. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ad0bc3c View commit details
    Browse the repository at this point in the history
  8. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    8f7338e View commit details
    Browse the repository at this point in the history
  9. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    cf674f1 View commit details
    Browse the repository at this point in the history
  10. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    55cc015 View commit details
    Browse the repository at this point in the history
  11. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    434b499 View commit details
    Browse the repository at this point in the history
  12. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    1253369 View commit details
    Browse the repository at this point in the history
  13. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    004adb5 View commit details
    Browse the repository at this point in the history
  14. Fix known issues

    yuanziwei committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    4bf40db View commit details
    Browse the repository at this point in the history