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

vtexplain support different modes #3532

Merged
merged 8 commits into from
Jan 22, 2018

Commits on Jan 22, 2018

  1. Revert "sort the vtexplain queries before outputting them"

    This reverts commit 1f3a930.
    
    Sorting in fact makes the test output illogical for sequences where
    statements occur in the same time quantum since it inverts the
    causal ordering.
    demmer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    2c78f0e View commit details
    Browse the repository at this point in the history
  2. add execution mode option to vtexplain

    Include an execution mode in the vtexplain options and refactor the
    tests to support different outputs for each execution mode.
    
    The mode doesn't yet change the behavior -- support for legacy
    autocommit and TwoPC to come in subsequent commits.
    demmer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    0c08f88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c777315 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f16c5dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aabed96 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a82a1f View commit details
    Browse the repository at this point in the history
  7. remove json mode output from vtexplain tests

    The json mode ends up being very verbose and prone to changes when
    the internals of the vtgate plan object change, so remove them from
    the vtexplain tests.
    demmer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    12abecc View commit details
    Browse the repository at this point in the history
  8. add a vtexplain test for json output

    Check the structure of the vtexplain output without depending on the
    details of the Plan so that any future changes to the plan structure
    don't cause the vtexplain tests to need updating.
    demmer committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    b4ec805 View commit details
    Browse the repository at this point in the history