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

View File

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