forked from gavinmcnair/kafka-connect-s3
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CXP-3032: Race condition during
local.buffer.dir
creation
When multiple tasks are starte on the same worker all of them are trying to check if the directory exists and create if not. Sometimes some of the tasks fail because the directory gets created after the existence check and before the creation attempt by other tasks. The fix is to do a few attempts of checking and creating the directory.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters