Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3735

fix the bad format of RATE_LOGGER

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • server
    • None

    Description

      } else if (digestFromLoadedSnapshot.zxid != 0 && zxid > digestFromLoadedSnapshot.zxid) {
          RATE_LOGGER.rateLimitLog("The txn 0x{} of snapshot digest does not "
                  + "exist.", Long.toHexString(digestFromLoadedSnapshot.zxid));
      }
      

      the printed log likes this:

      Message:The txn 0x{} of snapshot digest does not exist. Value:fa4e00000082
      

      1. 0x{} takes no effort

      2. RATE_LOGGER.rateLimitLog doesn't use like the ordinary LOG

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maoling Ling Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: