Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-199

fix log messages in persistence code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • server
    • None
    • Reviewed

    Description

      there are 2 log messages during server startup that are misleading:

      2008-10-20 16:36:41,135 - INFO [main:FileTxnLog$FileTxnIterator@441] - EOF excepton java.io.EOFException: Failed to read

      2008-10-20 16:36:41,120 - ERROR [main:FileTxnSnapLog@114] - 2(higestZxid) >= 2(next log) for type 1

      the first log should be DEBUG and should be changed to say something like eof reached in <file>, reading next file

      while the second log seems to indicate an error - however the server is still starting. either this is not an error, or it is an error and it's not being handled correctly.

      Attachments

        1. ZOOKEEPER-199.patch
          2 kB
          Mahadev Konar

        Activity

          People

            mahadev Mahadev Konar
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: