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

mcs, tso: support multi-keyspace-group and its service discovery in E2E path #6321

Merged
merged 27 commits into from
Apr 26, 2023

Commits on Apr 26, 2023

  1. Support multi-keyspace-group in PD(TSO) client

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    6d0c757 View commit details
    Browse the repository at this point in the history
  2. Complete server side implementation

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    fe77454 View commit details
    Browse the repository at this point in the history
  3. Complete client side implementation

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    8a256cd View commit details
    Browse the repository at this point in the history
  4. Improve the server/client side logic

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    5810320 View commit details
    Browse the repository at this point in the history
  5. Fixed test failures

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    ea1b2ad View commit details
    Browse the repository at this point in the history
  6. Fix "invalid argument to Intn"

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    56acd92 View commit details
    Browse the repository at this point in the history
  7. fix test failure in TestAPIServerForwardTestSuite/TestForwardTSOWhenP…

    …rimaryChanged
    
    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    550061d View commit details
    Browse the repository at this point in the history
  8. Handle feedback

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    5897164 View commit details
    Browse the repository at this point in the history
  9. Improve implementation and fix test failures.

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    78b57b4 View commit details
    Browse the repository at this point in the history
  10. remove debugging logs

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    06f7ff1 View commit details
    Browse the repository at this point in the history
  11. fix TestKeyspaceGroupTestSuite/TestReplica failure

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    e84fcc3 View commit details
    Browse the repository at this point in the history
  12. Fix panic

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9984c7c View commit details
    Browse the repository at this point in the history
  13. Add pd leader bootstrap in test so that pd client can discover tso no…

    …des.
    
    pd client -> switch to api service mode -> initialize tso server discovery -> call pdpb.GetClusterInfo() which returns tso service nodes watched by RaftCluster.GroupManager.
    
    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    7fcc436 View commit details
    Browse the repository at this point in the history
  14. fix lock

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    d4b1bf3 View commit details
    Browse the repository at this point in the history
  15. Handle feedback

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    eb01686 View commit details
    Browse the repository at this point in the history
  16. refine checkServiceModeChanged

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    f7f16dd View commit details
    Browse the repository at this point in the history
  17. Fix ErrClientGetLeader log output and enable verbose test for ci test…

    … jobs
    
    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    d27ead1 View commit details
    Browse the repository at this point in the history
  18. Always start tso server watch loop in the group manager instead of du…

    …ring boostrap
    
    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    d025314 View commit details
    Browse the repository at this point in the history
  19. handle feedback

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    8d475b7 View commit details
    Browse the repository at this point in the history
  20. fix TestMicroserviceTSOClient/TestRandomShutdown failure

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    cb6bfe1 View commit details
    Browse the repository at this point in the history
  21. handle more feedback

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    ff59724 View commit details
    Browse the repository at this point in the history
  22. Handle feedback.

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9dd37d5 View commit details
    Browse the repository at this point in the history
  23. Trigger tests

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    4c342bc View commit details
    Browse the repository at this point in the history
  24. fix nil am when checking IsKeyspaceServing.

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    5825876 View commit details
    Browse the repository at this point in the history
  25. remove -v from ci-test-job in pd/tests/integrations/tso/Makefile

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    917118f View commit details
    Browse the repository at this point in the history
  26. Upgrade to use the latest kvproto

    Signed-off-by: Bin Shi <binshi.bing@gmail.com>
    binshi-bing committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    936843d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    531c5ec View commit details
    Browse the repository at this point in the history