You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/04/23 09:32:23 UTC
[1/2] commons-io git commit: IO-528: fix Tailer.run race condition
runaway logging (closes #29)
Repository: commons-io
Updated Branches:
refs/heads/master 4b5fa7d8d -> f44180b97
IO-528: fix Tailer.run race condition runaway logging (closes #29)
Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/45fbfb82
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/45fbfb82
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/45fbfb82
Branch: refs/heads/master
Commit: 45fbfb82fd1f5168a7183e78ece89da7a60e21fe
Parents: 4b5fa7d
Author: Dave Moten <da...@gmail.com>
Authored: Wed Feb 1 14:54:00 2017 +1100
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sun Apr 23 11:29:31 2017 +0200
----------------------------------------------------------------------
src/main/java/org/apache/commons/io/input/Tailer.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-io/blob/45fbfb82/src/main/java/org/apache/commons/io/input/Tailer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java b/src/main/java/org/apache/commons/io/input/Tailer.java
index 999d397..9cb3887 100644
--- a/src/main/java/org/apache/commons/io/input/Tailer.java
+++ b/src/main/java/org/apache/commons/io/input/Tailer.java
@@ -446,6 +446,7 @@ public class Tailer implements Runnable {
} catch (final FileNotFoundException e) {
// in this case we continue to use the previous reader and position values
listener.fileNotFound();
+ Thread.sleep(delayMillis);
}
continue;
} else {
[2/2] commons-io git commit: IO-528: fix Tailer.run race condition
runaway logging
Posted by pa...@apache.org.
IO-528: fix Tailer.run race condition runaway logging
add changes.xml entry
Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/f44180b9
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/f44180b9
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/f44180b9
Branch: refs/heads/master
Commit: f44180b972e3f881da8a3f981a1ca4f720e48125
Parents: 45fbfb8
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Apr 23 11:32:06 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sun Apr 23 11:32:06 2017 +0200
----------------------------------------------------------------------
src/changes/changes.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-io/blob/f44180b9/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a953211..3994b6a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,7 +46,10 @@ The <action> type attribute can be add,update,fix,remove.
<body>
<!-- The release date is the date RC is cut -->
- <release version="2.6" date="2016-MM-DD" description="New features and bug fixes.">
+ <release version="2.6" date="2017-MM-DD" description="New features and bug fixes.">
+ <action issue="IO-528" dev="pschumacher" type="fix" due-to="Dave Moten">
+ fix Tailer.run race condition runaway logging
+ </action>
<action issue="IO-483" dev="kinow" type="fix" due-to="Marko Vasic">
getPrefixLength return -1 if unix file contains colon
</action>