Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ public static void unregister() {
private MutableRate createRatisRequestLatencyNs;

@Metric(about = "Convert ratis response to om response nano seconds")
private MutableRate createOmResoonseLatencyNs;
private MutableRate createOmResponseLatencyNs;

@Metric(about = "Ratis local command execution latency in nano seconds")
private MutableRate validateAndUpdateCacneLatencyNs;
private MutableRate validateAndUpdateCacheLatencyNs;

@Metric(about = "ACLs check latency in listKeys")
private MutableRate listKeysAclCheckLatencyNs;
Expand Down Expand Up @@ -209,11 +209,11 @@ public MutableRate getCreateRatisRequestLatencyNs() {
}

public MutableRate getCreateOmResponseLatencyNs() {
return createOmResoonseLatencyNs;
return createOmResponseLatencyNs;
}

public MutableRate getValidateAndUpdateCacneLatencyNs() {
return validateAndUpdateCacneLatencyNs;
public MutableRate getValidateAndUpdateCacheLatencyNs() {
return validateAndUpdateCacheLatencyNs;
}

public MutableRate getListKeysAclCheckLatencyNs() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public OMClientResponse handleWriteRequest(OMRequest omRequest, TermIndex termIn
OMClientRequest omClientRequest =
OzoneManagerRatisUtils.createClientRequest(omRequest, impl);
return captureLatencyNs(
impl.getPerfMetrics().getValidateAndUpdateCacneLatencyNs(),
impl.getPerfMetrics().getValidateAndUpdateCacheLatencyNs(),
() -> {
OMClientResponse omClientResponse =
omClientRequest.validateAndUpdateCache(getOzoneManager(), termIndex);
Expand Down