Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11873

Use time based expiration cache in all places in HdfsDirectoryFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.2
    • 7.3, 8.0
    • hdfs
    • None

    Description

      HdfsDirectoryFactory.exists() method already applies caching on FileSystem objects. This is not done yet in the size() method.

      This function is eventually used when querying the core status. Each and every query will use the same configuration and start from the first configured HDFS NameNode. If that is down Solr will always access this down node first without "learning".

      It would be nice to apply the same caching on that function too.

      Attachments

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              misutoth Mihaly Toth
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m