Skip to content

[19.03 backport] Use FILE_SHARE_DELETE for log files on Windows.#40563

Merged
AkihiroSuda merged 1 commit into
moby:19.03from
thaJeztah:19.03_backport_fix_windows_file_handles
Apr 17, 2020
Merged

[19.03 backport] Use FILE_SHARE_DELETE for log files on Windows.#40563
AkihiroSuda merged 1 commit into
moby:19.03from
thaJeztah:19.03_backport_fix_windows_file_handles

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

backport of #39974

This (hopefully! 🤞 ) fixes issues where one goroutine tries to delete or rename a file
while another goroutine has the file open (e.g. a log reader).

Closes #39856
Closes #36801
Fixes #39274

This fixes issues where one goroutine tries to delete or rename a file
while another goroutine has the file open (e.g. a log reader).

Signed-off-by: Brian Goff <[email protected]>
(cherry picked from commit a5f237c)
Signed-off-by: Sebastiaan van Stijn <[email protected]>

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah modified the milestones: 19.03.8, 19.03.9 Mar 11, 2020
@thaJeztah

Copy link
Copy Markdown
Member Author

@AkihiroSuda this one looking good to you as well?

@AkihiroSuda
AkihiroSuda merged commit f432f71 into moby:19.03 Apr 17, 2020
@thaJeztah
thaJeztah deleted the 19.03_backport_fix_windows_file_handles branch April 17, 2020 08:41
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.

3 participants