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

Support multi-raft #150

Merged
merged 18 commits into from
Aug 31, 2022
Merged

Commits on Jun 18, 2022

  1. feat(support Multi-DLedger): support Multi-DLedger

    1.add DLedgerProxy to be the container of DLedgerServer.
    2.add
    ConfigManager to manage the config about DLedgerProxy and
    DLedgerServer.
    3.add DLedgerManager to manage the
    DLedgerServers.
    4.support configuration file startup.
    5.start parameters
    are compatible with the old version.
    6.refactor the tests.
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    c32f576 View commit details
    Browse the repository at this point in the history
  2. test(fix some tests for new model): fix some tests for new model

    1.fix some tests for new model
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    d6f189b View commit details
    Browse the repository at this point in the history
  3. style(multi-raft): code format

    1.code format
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    7b8e91f View commit details
    Browse the repository at this point in the history
  4. refactor(multi-raft): refactor the code and test

    1.refactor the code and test
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    5eaf52a View commit details
    Browse the repository at this point in the history
  5. test(multi-raft): fix some test and add a new test

    1.fix some test and add a new test
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    530007b View commit details
    Browse the repository at this point in the history
  6. style(multi-raft): delete the print

    1.delete the print
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    8c6a67c View commit details
    Browse the repository at this point in the history
  7. fix(multi-raft): fix some bugs and add some tests about leaderElector

    1.fix some bugs and add some tests about leaderElector
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    bcf5f68 View commit details
    Browse the repository at this point in the history
  8. test(multi-raft): add more tests about leaderElector

    1.add more tests about leaderElector
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    aa6b523 View commit details
    Browse the repository at this point in the history
  9. feat(multi-raft): update conflict code

    1.update conflict code
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    bf9876a View commit details
    Browse the repository at this point in the history
  10. refactor(multi-raft): Refactor the startup args

    1.add startup args "server -c" to start with config file.
    2.remove DLedgerRpcNettyServer#memstate.
    3.check config before initialize DLedgerRpcNettyService.
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    b424068 View commit details
    Browse the repository at this point in the history
  11. refactor(multi-raft): refactor some code

    1.remove DLedgerRpcNettyService#checkOnePort
    2.remove printStack
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    7ab7a85 View commit details
    Browse the repository at this point in the history
  12. fix(multi-raft): fix some code

    1.use "groupId#selfId" to identify different DLedgerServer.
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    2972484 View commit details
    Browse the repository at this point in the history
  13. style(multi-raft): remove unused imports

    1.remove unused imports
    TheR1sing3un committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    849db96 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. feat(support Multi-DLedger): make ConfigManager more flexible

    1. make ConfigManager more flexible
    2. refactor structure about
    multi-raft
    3. more friendly for updating version
    TheR1sing3un committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    c4aa09b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f29e0ee View commit details
    Browse the repository at this point in the history
  3. fix(support Multi-DLedger): fix incompatible code after merge master …

    …branch
    
    1. fix incompatible code after merge master branch
    TheR1sing3un committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    2b98e68 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. refactor(main): refactor the main method in DLedger

    1. refactor the main method in DLedger
    TheR1sing3un committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    1acceb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7088b6f View commit details
    Browse the repository at this point in the history