Skip to content

storage: Convert 'nodeStatus' enumeration to proto#20086

Merged
mrtracy merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/server_side_suspect
Nov 16, 2017
Merged

storage: Convert 'nodeStatus' enumeration to proto#20086
mrtracy merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/server_side_suspect

Conversation

@mrtracy
Copy link
Copy Markdown
Contributor

@mrtracy mrtracy commented Nov 15, 2017

Converts the nodeStatus enumeration (used by the store pool and
allocator) to a protocol buffer. The purpose is that we intend to expose
this information the Admin UI in a subsequent commit.

Works towards #17840

@mrtracy mrtracy requested a review from a team November 15, 2017 23:51
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@a-robinson
Copy link
Copy Markdown
Contributor

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


pkg/storage/liveness.proto, line 54 at r1 (raw file):

  LIVE = 3;
  // DECOMMISSIONING indicates a node that is in the decommissioning process.
  DECOMMISSIONING = 5;

Why not 4?


Comments from Reviewable

@a-robinson
Copy link
Copy Markdown
Contributor

:lgtm:


Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


Comments from Reviewable

@bdarnell
Copy link
Copy Markdown
Contributor

:lgtm:


Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


Comments from Reviewable

Converts the nodeStatus enumeration (used by the store pool and
allocator) to a protocol buffer. The purpose is that we intend to expose
this information the Admin UI in a subsequent commit.

Works towards cockroachdb#17840
@mrtracy mrtracy force-pushed the mtracy/server_side_suspect branch from 4260be5 to c877486 Compare November 16, 2017 17:47
@mrtracy
Copy link
Copy Markdown
Contributor Author

mrtracy commented Nov 16, 2017

Review status: 4 of 6 files reviewed at latest revision, 1 unresolved discussion.


pkg/storage/liveness.proto, line 54 at r1 (raw file):

Previously, a-robinson (Alex Robinson) wrote…

Why not 4?

https://youtu.be/xOrgLj9lOwk?t=128

Fixed


Comments from Reviewable

@mrtracy mrtracy merged commit 27d55f5 into cockroachdb:master Nov 16, 2017
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