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

vreplication: vdiff #5367

Merged
merged 28 commits into from
Nov 3, 2019
Merged

vreplication: vdiff #5367

merged 28 commits into from
Nov 3, 2019

Commits on Nov 3, 2019

  1. mysqlctl: GetSchema also returns field info

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    2083ace View commit details
    Browse the repository at this point in the history
  2. vdiff: planbuilder initial cut

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    ee052a5 View commit details
    Browse the repository at this point in the history
  3. vdiff: add a test

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    8b6eb63 View commit details
    Browse the repository at this point in the history
  4. vdiff: resultStreamer

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    cd858ac View commit details
    Browse the repository at this point in the history
  5. vdiff: resultStreamer test

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    0f608e9 View commit details
    Browse the repository at this point in the history
  6. vdiff: stopTargetStreams, waitForSourceStreams

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    c6994e5 View commit details
    Browse the repository at this point in the history
  7. discovery: move tabletpicker from vreplication

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    c581f0e View commit details
    Browse the repository at this point in the history
  8. vreplication: use discovery.TabletPicker

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    c6b7e30 View commit details
    Browse the repository at this point in the history
  9. discovery: refactor TabletPicker

    It now waits indefinitely until at least one tablet is available.
    
    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    d6063d9 View commit details
    Browse the repository at this point in the history
  10. discovery: improve TabletPicker algorithm

    It now picks equally from all tablet types.
    
    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    3bdafde View commit details
    Browse the repository at this point in the history
  11. vdiff: new data structures

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    297c5d1 View commit details
    Browse the repository at this point in the history
  12. tabletmanager: WaitForPosition

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    2ef2962 View commit details
    Browse the repository at this point in the history
  13. vdiff: selectTablets

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    ea2a5c0 View commit details
    Browse the repository at this point in the history
  14. vdiff: streamFromSources

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    d37fd4f View commit details
    Browse the repository at this point in the history
  15. vdiff: syncTargets and restartTargets

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    3a9aa89 View commit details
    Browse the repository at this point in the history
  16. vdiff: resultReader that uses engine.MergeSort

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    51ce2c5 View commit details
    Browse the repository at this point in the history
  17. vdiff: diff function

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    798fedb View commit details
    Browse the repository at this point in the history
  18. vdiff: main function and start of testing

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    8e231da View commit details
    Browse the repository at this point in the history
  19. vdiff: all plan builder tests

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    65a0051 View commit details
    Browse the repository at this point in the history
  20. vdiff: test framework with a basic test

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    38c2ae9 View commit details
    Browse the repository at this point in the history
  21. vdiff: rest of the tests

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    7139502 View commit details
    Browse the repository at this point in the history
  22. vdiff: filteredReplicationWaitTime

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    3891247 View commit details
    Browse the repository at this point in the history
  23. vdiff: vtctl command

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    78babdd View commit details
    Browse the repository at this point in the history
  24. vdiff: fix two bugs

    * WaitForPos previously worked only for replicas. It's been
      updated to work correctly for masters also.
    
    * resultReader keyspace was hardcoded to source. The keyspace
      name is now passed as input param.
    
    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    98429a9 View commit details
    Browse the repository at this point in the history
  25. vdiff: handle aggregates

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    357d070 View commit details
    Browse the repository at this point in the history
  26. vreplication: re-introduce healthcheck timeouts

    Some tests still depend on the healthcheck timeout options.
    So, tablet picker still needs to accept them as arguments.
    
    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    81afa30 View commit details
    Browse the repository at this point in the history
  27. vdiff: post-rebase fix

    change test to handle new mastership rules
    
    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    7d8a08d View commit details
    Browse the repository at this point in the history
  28. vdiff: fix broken tabletmanagerdata_pb2.py

    Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
    sougou committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    1b8bece View commit details
    Browse the repository at this point in the history