Author: chetanm
Date: Tue Sep 26 07:23:18 2017
New Revision: 1809691

URL: http://svn.apache.org/viewvc?rev=1809691&view=rev
Log:
OAK-6715 - Log elapsed time even if actual count is more than estimate

Modified:
    
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/progress/IndexingProgressReporter.java

Modified: 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/progress/IndexingProgressReporter.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/progress/IndexingProgressReporter.java?rev=1809691&r1=1809690&r2=1809691&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/progress/IndexingProgressReporter.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/progress/IndexingProgressReporter.java
 Tue Sep 26 07:23:18 2017
@@ -179,6 +179,8 @@ public class IndexingProgressReporter im
                         
TimeDurationFormatter.forLogging().format(timeRequired, TimeUnit.SECONDS),
                         percentComplete
                 );
+            } else {
+                return String.format("(Elapsed %s)", watch);
             }
         }
         return "";


Reply via email to