Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2.1
-
None
Description
After a misunderstanding on my part, leading to an incorrect documentation edit, shalinmangar helped me understand how the commit reserve duration works.
The resulting discussion on the dev list brought up a possible problem in ReplicationHandler. We wondered whether it might be possible for another thread to sneak in a commit point deletion in between the two statements found in the releaseCommitPointAndExtendReserve method on the DirectoryFileStream object. If it is safe to do so, I propose reversing those two statements so the reserve extension is done before releasing the commit point.