DomGarguilo commented on code in PR #4380:
URL: https://github.com/apache/accumulo/pull/4380#discussion_r2648452592
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java:
##########
@@ -1769,13 +1772,13 @@ public void importDataFiles(long tid,
Map<ReferencedTabletFile,DataFileInfo> fil
// Clients timeout and will think that this operation failed.
// Don't do it if we spent too long waiting for the lock
- long now = System.nanoTime();
+ Timer lockWaitTimer = Timer.startNew();
synchronized (this) {
if (isClosed()) {
throw new IOException("tablet " + extent + " is closed");
}
- long rpcTimeoutNanos = TimeUnit.MILLISECONDS.toNanos(
+ Duration rpcTimeout = Duration.ofMillis(
Review Comment:
This was removed in main anyways so is not present in this feature branch
after merging main in anyways.
--
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]