Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14677

Clean up Message.Request implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None
    • None

    Description

      First tracing support, many years ago, then most recently audit log, made a big mess out of Message.Request.execute() implementations.

      This patch tries to clean up some of it by removing tracing logic from QueryState and moving shared tracing functionality to Message.Request.perform(). It also moves out tracing and audit log boiler plate into their own small methods instead of polluting execute() implementations.

      Attachments

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Dinesh Joshi, Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: