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

Revised the state machine. #2046

Merged
merged 4 commits into from
Jun 15, 2015
Merged

Revised the state machine. #2046

merged 4 commits into from
Jun 15, 2015

Conversation

a11r
Copy link
Member

@a11r a11r commented Jun 12, 2015

Added an IDLE state and replaced FATAL_FAILURE with shutdown. Also modified come phrasing for TRANSIENT_FAILURE for clarity.

large amounts of time in this state.

IDLE: This is the state where the channel is not even trying to create a
connection because of a lack of new or pending RPCs. New channels MAY be created
Copy link
Member

Choose a reason for hiding this comment

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

Could we have a definition of a "pending RPC"? Is it a synonym of active RPC? What is an active RPC?

Copy link
Member Author

Choose a reason for hiding this comment

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

Synonyms. An active/pending RPC is one that has been started but has not finshed (returned status). This is from the channel's perspective, so if the channel is wrapped by something and that wrapper buffers RPCs, those buffered RPCs will be active at the wrapper but not at the channel.

@a11r
Copy link
Member Author

a11r commented Jun 15, 2015

Updated the spelling of GO_AWAY to GOAWAY and responded to questions. PTAL.

ejona86 added a commit that referenced this pull request Jun 15, 2015
Revised the state machine.
@ejona86 ejona86 merged commit 62c5b12 into grpc:master Jun 15, 2015
@a11r a11r deleted the cs branch June 18, 2015 22:02
@a11r a11r restored the cs branch June 18, 2015 22:02
@a11r a11r deleted the cs branch June 18, 2015 22:02
@lock lock bot locked as resolved and limited conversation to collaborators Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants