Skip to content

migrating mysqlctld python testcases to go#5774

Merged
deepthi merged 63 commits intovitessio:masterfrom
planetscale:backup-transform-mysqlctld
Feb 7, 2020
Merged

migrating mysqlctld python testcases to go#5774
deepthi merged 63 commits intovitessio:masterfrom
planetscale:backup-transform-mysqlctld

Conversation

@princeparmar
Copy link
Copy Markdown
Contributor

@princeparmar princeparmar commented Jan 30, 2020

  1. created mysqlctld_process
  2. wrote mysqlctld basic testcases
  3. backup_mysqlctld testcase
  4. backup transform mysqlctld
  5. updated config.json

ajeetj and others added 30 commits January 20, 2020 10:32
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…reated.

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
code refactor, removed some functions.

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Jan 31, 2020

I didn't notice this earlier, but can backuptransform move inside backup (and then you can call it just transform). Similarly backuptransformmysqlctld is an awkward name. Can you move this also inside backup directory and rename with a shorter name?

@ajeetj
Copy link
Copy Markdown
Contributor

ajeetj commented Jan 31, 2020

I didn't notice this earlier, but can backuptransform move inside backup (and then you can call it just transform). Similarly backuptransformmysqlctld is an awkward name. Can you move this also inside backup directory and rename with a shorter name?

I was about to comment exactly that. :)

princeparmar and others added 6 commits January 31, 2020 10:23
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
…itess into backup-transform-mysqlctld

Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
@princeparmar princeparmar changed the title Backup transform mysqlctld migrating mysqlctld python testcases to go Jan 31, 2020
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…tscale/vitess into backup-transform-mysqlctld

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…tscale/vitess into backup-transform-mysqlctld

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…tscale/vitess into backup-transform-mysqlctld

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…tscale/vitess into backup-transform-mysqlctld

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
…tscale/vitess into backup-transform-mysqlctld

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Feb 6, 2020

cluster_endtoend / build (14) is consistently hanging on this PR, that needs to be fixed.

Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good.
A few questions and suggestions inline.
The failing test still needs to be fixed.


// TestBackupMysqlctld - tests the backup using mysqlctld.
func TestBackupMysqlctld(t *testing.T) {
backup.TestBackup(t, backup.Mysqlctld, "", 0)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comments to the parameters so that it is easier to understand what we are testing.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this causing problems?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

table -> tablet

@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Feb 6, 2020

@ajeetj can you review the directory structure and file naming overall? since we are putting each test in a separate directory, it's not really necessary to repeat the directory names in the test file names.

Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
@princeparmar princeparmar force-pushed the backup-transform-mysqlctld branch from 713bafa to 3b1e455 Compare February 6, 2020 05:30
princeparmar and others added 3 commits February 6, 2020 13:34
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deepthi deepthi merged commit 04471b2 into vitessio:master Feb 7, 2020
@deepthi deepthi deleted the backup-transform-mysqlctld branch February 7, 2020 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants