Himanshu-g81 commented on code in PR #2395:
URL: https://github.com/apache/phoenix/pull/2395#discussion_r3063360223
##########
phoenix-core-server/src/main/java/org/apache/phoenix/replication/ReplicationLogTracker.java:
##########
@@ -267,7 +266,7 @@ public List<Path> getNewFiles() throws IOException {
* @return true if file was successfully deleted, false otherwise
*/
protected boolean markCompleted(final Path file) {
- long startTime = EnvironmentEdgeManager.currentTimeMillis();
+ long startTime = EnvironmentEdgeManager.currentTime();
Review Comment:
I think it was not having get and increment feature. But I can check again
and update in next PR for whole package instead (and keeping this PR mainly for
fixing the inifinite loop and duplicate processing issue.)
Does that sounds good?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]