Skip to content

Conversation

@jeremyrsmith
Copy link
Collaborator

I did this because currently, if there's an error during an extended
query message flow, we must issue a Sync in order to get Postgres to
respond to any further messages. However, the state machine currently
does not allow for a Sync message in any state but Connected. This
results in a connection hang in some situations.

This change allows Sync during any of the extended query states.

I did this because currently, if there's an error during an extended
query message flow, we must issue a `Sync` in order to get Postgres to
respond to any further messages. However, the state machine currently
does not allow for a Sync message in any state but `Connected`. This
results in a connection hang in some situations.

This change allows `Sync` during any of the extended query states.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 74.508% when pulling af811bc on jeremyrsmith:fix-error-syncing into fba7077 on finagle:master.

@jeremyrsmith jeremyrsmith merged commit 7eef45c into finagle:master Oct 26, 2016
@jeremyrsmith jeremyrsmith deleted the fix-error-syncing branch October 26, 2016 21:02
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.

2 participants