Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5285

Logging for Partition Handling and Key availablility too verbose

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • Low

    Description

      If, during a cluster spit, the partitions are in DEGRADED mode, access to a key is logged in TRACE and ERROR, but the ERROR seems too verbose.

      TRACE Checking availablility for key=...., status DEGRADED_MODE
      TRACE Part. in DEGRADED_MODE, access is not allowed for key ....
      ERROR ISPN0000306, Key '...' not available. Not all owners .....
      and a full stacktrace

      Logging the information twice in DEBUG and ERROR seems useless.
      But having the full stacktrace might blow up the log file during DEGRADED_MODE. The error should only one line, no stacktrace as this information is not very useful at this point.

      Maybe a TRACE message or lower should include the stacktrace if there is a need for this information.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: