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

Wrong metric on LedgerDeleteOp and LedgerOpenOp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.4.0, 4.3.1
    • Component/s: bookkeeper-client
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: