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

Make DROP/CREATE DATABASE pluggable #7381

Merged
merged 27 commits into from
Mar 11, 2021

Commits on Jan 26, 2021

  1. Start of making CREATE DATABASE pluggable

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    b7400d4 View commit details
    Browse the repository at this point in the history
  2. use more restrictive type

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    f85d458 View commit details
    Browse the repository at this point in the history
  3. use simpler API for the CREATE DB API

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    768719e View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Merge remote-tracking branch 'upstream/master' into create-database

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    9d200e1 View commit details
    Browse the repository at this point in the history
  2. make it possible to do both create and drop using a plugin

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    668b66f View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. adressed PR review

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    80b184f View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into create-database

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    b324b06 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. [wip] refactored lots of things

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    7e776c8 View commit details
    Browse the repository at this point in the history
  2. code refactor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    cd26ee2 View commit details
    Browse the repository at this point in the history
  3. e2e test fir dbddl plugin

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    02e49ce View commit details
    Browse the repository at this point in the history
  4. [wip] implement the dbddl primitive

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    a429c60 View commit details
    Browse the repository at this point in the history
  5. implemented more of the primitive

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    90b697d View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'upstream/master' into create-database

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    a32812c View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2021

  1. fix the primitive on create db and implement drop db

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    6657063 View commit details
    Browse the repository at this point in the history
  2. e2e test for drop db

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    c77f7c5 View commit details
    Browse the repository at this point in the history
  3. fix dbdddl plugin unit test

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    73eb606 View commit details
    Browse the repository at this point in the history
  4. dbddl: code refactor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    c8569f0 View commit details
    Browse the repository at this point in the history
  5. added comments to dbddl

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    295f848 View commit details
    Browse the repository at this point in the history
  6. added comments directive to set query timeout in db ddl primitive

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    10daa0e View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. added timeout test

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    131c5f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. drop database to wait for vschema to be updated

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    9a33429 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. fix plan test

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    afd6e57 View commit details
    Browse the repository at this point in the history
  2. on drop database call, check if keyspace is removed from vschema

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    6a92f2d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. check resolve destination for drop database to see if keyspace is not…

    … available
    
    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    06da2d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. Merge branch 'master' of github.com:vitessio/vitess into create-database

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    00bf410 View commit details
    Browse the repository at this point in the history
  2. make sure to not return error when things worked

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    e762d58 View commit details
    Browse the repository at this point in the history
  3. watch vschema in drop database to confirm that the keyspace is no lon…

    …ger available to be served
    
    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    6a7f295 View commit details
    Browse the repository at this point in the history