Skip to content
Snippets Groups Projects
Commit aea97ae2 authored by brinn's avatar brinn
Browse files

add: RetryingPathRemover (retry removing now, parameters hard-coded for now)

rename: LocalPathMover -> RetryingPathMover

SVN: 1826
parent 5b5ad742
No related branches found
No related tags found
No related merge requests found
...@@ -200,9 +200,6 @@ public final class RemotePathMover implements DirectoryScanningTimerTask.IPathHa ...@@ -200,9 +200,6 @@ public final class RemotePathMover implements DirectoryScanningTimerTask.IPathHa
removeMarkerFile(removalInProgressMarkerFile); removeMarkerFile(removalInProgressMarkerFile);
if (Status.OK.equals(removalStatus) == false) if (Status.OK.equals(removalStatus) == false)
{ {
// We don't retry this, because the path is local and removal really shouldn't fail.
// TODO 2007-09-02, Bernd Rinn: this is no longer true, the source directory can now be remote,
// so we should consider retrying a failed attempt to remove it.
notificationLog.error(String.format(REMOVING_LOCAL_PATH_FAILED_TEMPLATE, path, removalStatus)); notificationLog.error(String.format(REMOVING_LOCAL_PATH_FAILED_TEMPLATE, path, removalStatus));
} else if (operationLog.isInfoEnabled()) } else if (operationLog.isInfoEnabled())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment