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

Fixing shutdown when parcels are still in flight #2359

Merged
merged 1 commit into from Oct 9, 2016
Merged

Conversation

sithhell
Copy link
Member

@sithhell sithhell commented Oct 7, 2016

  • Making sure a receiver connection in the TCP parcelports waits until
    the connection has been completed to get completely closed
  • Make sure that no parcels are still in flight when starting the termination
    detection

This completely fixes #2334

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

Shouldn't that new operations_in_flight_ counter be aware of whether a parcel is used as part of the termination detection itself?

@sithhell
Copy link
Member Author

sithhell commented Oct 7, 2016

No, parcelport::operations_in_flight_ is only incremented for outgoing parcels. The flushing is happening before invoking the termination detection action, those can't interfere then.

@sithhell
Copy link
Member Author

sithhell commented Oct 7, 2016 via email

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM, sans the inspect error. Please fix.

 - Making sure a receiver connection in the TCP parcelports waits until
   the connection has been completed to get completely closed
 - Make sure that no parcels are still in flight when starting the termination
   detection

This completely fixes #2334
@hkaiser hkaiser merged commit f504a0e into master Oct 9, 2016
@hkaiser hkaiser deleted the fixing_2334 branch October 9, 2016 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot construct component with large vector on a remote locality
2 participants