Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1654

Serialized messages are generated even though they are not logged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • avatica-1.10.0
    • avatica
    • None

    Description

      sergey.soldatov made a good find through some careful log reading.

      In ProtobufTranslationImpl, some TRACE logging that I had added in CALCITE-1159 is causing a bunch of garbage to be created on the heap.

      The trace logging messages should be wrapped in a conditionals to avoid the generation of the message itself. I was a little too overzealous thinking that the slf4j api was saving me.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              sergey.soldatov Sergey Soldatov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: