[SERVER-12271] fsync command downgrade to 'R' as fast as it could Created: 07/Jan/14  Updated: 06/Dec/22  Resolved: 01/Mar/16

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

Type: Bug Priority: Minor - P4
Reporter: Dwight Merriman Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

I don't think fsync command is downgrading to 'R' as intended. There is a call to

global.downgrade();

in doRealWork(), but before that point, syncDataAndTruncateJournal() flushes everything before that point.



 Comments   
Comment by Dwight Merriman [ 07/Jan/14 ]

i believe there are other issues around fsynclock in other tickets; this one is pretty minor as it does go to 'R' just a little later than it could.

Generated at Thu Feb 08 03:28:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.