HDDS-2135. OM Metric mismatch (MultipartUpload failures)

Closes #1453
This commit is contained in:
Doroszlai, Attila 2019-09-17 12:37:55 +02:00 committed by Márton Elek
parent 55ce454ce4
commit f3de141787
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28
1 changed files with 2 additions and 3 deletions

View File

@ -91,12 +91,11 @@ public class OMMetrics {
private @Metric MutableCounterLong numVolumeListFails;
private @Metric MutableCounterLong numKeyCommitFails;
private @Metric MutableCounterLong numBlockAllocateCallFails;
private @Metric MutableCounterLong numAddAllocateBlockCallFails;
private @Metric MutableCounterLong numGetServiceListFails;
private @Metric MutableCounterLong numListS3BucketsFails;
private @Metric MutableCounterLong numInitiateMultipartUploadFails;
private @Metric MutableCounterLong numCommitMultipartUploadParts;
private @Metric MutableCounterLong getNumCommitMultipartUploadPartFails;
private @Metric MutableCounterLong numCommitMultipartUploadPartFails;
private @Metric MutableCounterLong numCompleteMultipartUploadFails;
private @Metric MutableCounterLong numAbortMultipartUploads;
private @Metric MutableCounterLong numAbortMultipartUploadFails;
@ -308,7 +307,7 @@ public class OMMetrics {
}
public void incNumCommitMultipartUploadPartFails() {
numInitiateMultipartUploadFails.incr();
numCommitMultipartUploadPartFails.incr();
}
public void incNumCompleteMultipartUploads() {