Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1810

Illegal format string in trace message in NAKACK2 protocol

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.4.4
    • 3.4.3
    • None

      The NAKACK2 protocol has an invalid format string in one of its trace logging outputs:

      log.trace("%s: my_highest_rcvd (%) < stability_highest_rcvd (%): requesting retransmission of %s",
      local_addr, my_hr, hr, member + "#" + hr);

      This results in an error in the log:

      ERROR - Illegal format string "%s: my_highest_rcvd (%) < stability_highest_rcvd (%): requesting retransmission of %s"

      The % should be changed to %% to avoid the error. The arguments are in fact printed alongside the message however anything with ERROR in the text makes QA nervous.

            rhn-engineering-bban Bela Ban
            clecompt_jira Chris LeCompte (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: