Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-234

EntryLogger will throw NPE, if any dir does not exist or IO Errors.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • bookkeeper-server
    • None

    Description

      I think, Entry log should check the exitance of directories, before going to get the last Log entries. Because, listFiles will retunr null on non existant directories or any IO Errors. We have to add the check for directory existnace check and null checks in side getLastLogID api in EntryLogger.

      We may need to handle in LedgerCacheImpl also.

      Do we need to add them in bad disks list? and others will refer this list before they use the dirs.

      Attachments

        1. BOOKKEEPER-234.patch
          3 kB
          Uma Maheswara Rao G
        2. BOOKKEEPER-234.patch
          2 kB
          Uma Maheswara Rao G

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: