Charles Xie created BOOKKEEPER-809:
--------------------------------------

             Summary: Wrong metric on LedgerDeleteOp and LedgerOpenOp
                 Key: BOOKKEEPER-809
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-809
             Project: Bookkeeper
          Issue Type: Bug
          Components: bookkeeper-client
    Affects Versions: 4.3.0
            Reporter: Charles Xie


These two operations uses startTime as the latency for metric, which is wrong. 

{code}
    void openComplete(int rc, LedgerHandle lh) {
        if (BKException.Code.OK != rc) {
            openOpLogger.registerFailedEvent(startTime);
        } else {
            openOpLogger.registerSuccessfulEvent(startTime);
        }
        cb.openComplete(rc, lh, ctx);
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to