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

sql,roachpb: relocate app_stats proto from sql to roachpb #15566

Merged
merged 1 commit into from
May 1, 2017

Conversation

benesch
Copy link
Contributor

@benesch benesch commented May 1, 2017

To share the StatementStatistics type with the registration server, we
need it to live in a package without any C dependencies.

@benesch benesch requested review from dt and knz May 1, 2017 20:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

To share the StatementStatistics type with the registration server, we
need it to live in a package without any C dependencies.
@dt
Copy link
Member

dt commented May 1, 2017

:lgtm:

Optional: export and move the three *Info structs to roachpb too (don't particularly protnbuf them), so they can get reused too, since it all logically goes together.


Review status: 0 of 8 files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

@benesch
Copy link
Contributor Author

benesch commented May 1, 2017

Do you mean the versionInfo, reportingInfo, nodeInfo, and storeInfo structs that currently live in pkg/server?

@dt
Copy link
Member

dt commented May 1, 2017

Yep, sorry, I should have been more specific. I'm also 👍 on this as-is too.

@benesch
Copy link
Contributor Author

benesch commented May 1, 2017

Ok, perfect. I'll deal with the other structs in another PR, because moving them into roachpb causes an import cycle. Grrrrr.

@benesch benesch merged commit 276f1cd into cockroachdb:master May 1, 2017
@benesch benesch deleted the move-app-stats branch May 1, 2017 21:22
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