fs: add synchronous retries to rimraf by cjihrig · Pull Request #30785 · nodejs/node
added
the
lib / src
label
Dec 4, 2019
Trott
added
the
author ready
label
Dec 7, 2019
Trott
mentioned this pull request
2 tasks
Trott
removed
the
author ready
label
Dec 8, 2019
Trott
added
the
author ready
label
Dec 8, 2019This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached.
rimraf should only retry if certain errors are encountered. Additionally, there is no point sleeping if an error occurs on the last try.
danbev pushed a commit that referenced this pull request
Dec 9, 2019This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached. PR-URL: #30785 Fixes: #30580 Refs: #30569 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
danbev pushed a commit that referenced this pull request
Dec 9, 2019targos pushed a commit that referenced this pull request
Dec 9, 2019This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached. PR-URL: #30785 Fixes: #30580 Refs: #30569 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
targos pushed a commit that referenced this pull request
Dec 9, 2019targos pushed a commit that referenced this pull request
Jan 14, 2020This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached. PR-URL: #30785 Fixes: #30580 Refs: #30569 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
targos pushed a commit that referenced this pull request
Jan 14, 2020BethGriggs pushed a commit that referenced this pull request
Feb 6, 2020This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached. PR-URL: #30785 Fixes: #30580 Refs: #30569 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
BethGriggs pushed a commit that referenced this pull request
Feb 6, 2020This file contains hidden or 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