[SERVER-33893] Writes that fail with EINTR also terminate MongoDB Created: 14/Mar/18  Updated: 16/Mar/18  Resolved: 16/Mar/18

Status: Closed
Project: Core Server
Component/s: WiredTiger
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Francisco Alanis Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Case:

 Description   

It seems like any error returned by pwrite causes an assertion, but EINTR could be retried since the conditions under which it happens are usually only temporary.

My suggestion is to add retry logic to writes if the return code is EINTR to make the code more resilient for that particular situation.



 Comments   
Comment by Kelsey Schubert [ 16/Mar/18 ]

We already retry for EINTR.

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