Skip to content

Move vtcombo initTabletMap func to vtcombo package#3849

Merged
sougou merged 4 commits intovitessio:masterfrom
arthurnn:arthurnn/vtcombo_mv
May 1, 2018
Merged

Move vtcombo initTabletMap func to vtcombo package#3849
sougou merged 4 commits intovitessio:masterfrom
arthurnn:arthurnn/vtcombo_mv

Conversation

@arthurnn
Copy link
Copy Markdown
Contributor

The idea is so other commands can reuse the initTabletMap.

In my case, I am building a new command and importing libs from vitess. In my cmd I am
faking a topology(using memory) and starting vttablets for it. Similar on what vtcombo
does.

With the vtcombo package I can just use that function and not have it copy it over.
cc @sougou @alainjobart

@arthurnn arthurnn force-pushed the arthurnn/vtcombo_mv branch from 2e73d88 to 34c409a Compare April 19, 2018 18:42
The idea is so another commands can reuse the initTabletMap.

In my case, I am building a new command and importing libs from vitess. In my cmd I am
faking a topology(using memory) and starting vttablets for it. Similar on what vtcombo
does.

Signed-off-by: Arthur Neves <arthurnn@gmail.com>
@arthurnn arthurnn force-pushed the arthurnn/vtcombo_mv branch from 34c409a to 74ce7e2 Compare April 19, 2018 18:45
@arthurnn
Copy link
Copy Markdown
Contributor Author

ping @sougou

@sougou
Copy link
Copy Markdown
Contributor

sougou commented Apr 21, 2018

Looks like you need to resolve a merge conflict and a code climate issue.

Signed-off-by: Arthur Neves <arthurnn@gmail.com>
Signed-off-by: Arthur Neves <arthurnn@gmail.com>
Signed-off-by: Arthur Neves <arthurnn@gmail.com>
@arthurnn
Copy link
Copy Markdown
Contributor Author

@sougou i fixed the issues.

@sougou sougou merged commit 915888e into vitessio:master May 1, 2018
@arthurnn arthurnn deleted the arthurnn/vtcombo_mv branch May 15, 2018 08:03
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.

3 participants