Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2709

Misleading log message from IndexCopier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.7
    • 1.0.13, 1.2
    • None
    • None

    Description

      The lucene IndexCopier logs the following message on my Mac:

      31.03.2015 13:57:58.117 *INFO* [pool-5-thread-19] org.apache.jackrabbit.oak.plugins.index.lucene.IndexCopier Error occurred while deleting following files from the local index directory [NIOFSDirectory@/foo/index/e5a943cdec3000bd8ce54924fd2070ab5d1d35b9ecf530963a3583d43bf28293/1 lockFactory=NativeFSLockFactory@/foo/index/e5a943cdec3000bd8ce54924fd2070ab5d1d35b9ecf530963a3583d43bf28293/1]. This can happen on Windows based system. Attempt would be made to remove them in next attempt 
      

      The message should be more general if this is expected to happen on a Mac as well. I'm also wondering if INFO is appropriate. I see this kind of message every 30 seconds in my log. Maybe we should lower it to DEBUG?

      Attachments

        1. copy-on-read-stats.png
          36 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: