Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-809

Wrong metric on LedgerDeleteOp and LedgerOpenOp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0, 4.3.1
    • bookkeeper-client
    • None

    Description

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

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

      Attachments

        1. BOOKKEEPER-809.patch
          2 kB
          Charles X

        Activity

          People

            cxie Charles X
            cxie Charles X
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: