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

ZK logging is oververbose, can cause oom in tests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2
    • Component/s: None
    • Labels:
      None

      Description

      Some tests, GcLedgerTests for example, create a lot of ledgers (30k) which causes a lot of zk writes. This causes a lot of zk logging, which can fill the log buffer and cause an oom when you're running with very little memory.

      Fix is trivial. zk should be set to only log at error level in log4j.properties.

        Attachments

          Activity

            People

            • Assignee:
              ikelly Ivan Kelly
              Reporter:
              ikelly Ivan Kelly

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment