[SERVER-34782] baton_asio_linux invariants on EINTR Created: 01/May/18  Updated: 29/Oct/23  Resolved: 01/May/18

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2018-05-07
Participants:
Linked BF Score: 0

 Description   

baton_asio_linux checks at the end of run() whether it's done any work.  In the case of EINTR, it's possible it hasn't.

In this case, I think the simplest fix is to remove the invariant, as there's currently no contract that run() actually does work a user might actually care about and other invariants check the rest of the application logic



 Comments   
Comment by Githook User [ 01/May/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-34782 baton_asio_linux invariants on EINTR

baton_asio_linux checks at the end of run() whether it's done any work. 
In the case of EINTR, it's possible it hasn't.

The simplest fix is to remove the invariant, as there's currently no
contract that run() actually does work a user might actually care about
and other invariants check the rest of the application logic
Branch: master
https://github.com/mongodb/mongo/commit/17e5914811e5cc9f8dfe5d46b0771abfead6c9c3

Generated at Thu Feb 08 04:37:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.