mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-24 08:00:00 -06:00
cleanups
This commit is contained in:
parent
e99acba7a0
commit
ee43c3a024
@ -84,7 +84,7 @@ public class MilvusDescribeIndexOp extends MilvusBaseOp<DescribeIndexParam> impl
|
||||
return stream().mapToInt(IndexStat::percent).min().orElse(0);
|
||||
}
|
||||
}
|
||||
public static final record IndexStat(
|
||||
public record IndexStat(
|
||||
String index_name,
|
||||
long indexed_rows,
|
||||
long pending_rows
|
||||
|
@ -91,10 +91,8 @@ public class TimeoutPredicate<T> {
|
||||
if (isComplete) {
|
||||
return new Result<>(value, Status.complete, totalNanos, timeoutNanos, null);
|
||||
} else if (remaining > 0) {
|
||||
// System.out.println("pulse:" + pulseTime + " end:" + endNanos + " remaining:" + remaining);
|
||||
return new Result<>(value, Status.pending, totalNanos, timeoutNanos, null);
|
||||
} else {
|
||||
// System.out.println("pulse:" + pulseTime + " end:" + endNanos + " remaining:" + remaining);
|
||||
return new Result<>(value, Status.incomplete, totalNanos, timeoutNanos, null);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user