Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4854

Make LoggingPhoenixResultSet idempotent when logging metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.15.0, 5.1.0, 4.14.2
    • None
    • None

    Description

      ResultSet close method can be called multiple times and LoggingResultSet object tries to call PhoenixMetricsLog methods every single time. These per query metrics don't get cleared up, rather they are all at "0" value once they are consumed and reset. This Jira is an enhancement to bring the idempotency in the class.

      Attachments

        Issue Links

          Activity

            People

              karanmehta93 Karan Mehta
              karanmehta93 Karan Mehta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: