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

SplitShardCmd.checkDiskSpace can fail for transient core

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None

    Description

      SplitShardCmd.checkDiskSpace uses Solr's remote Metrics API through SolrClientNodeStateProvider to fetch the size of a core it wants to consider splitting. But if this occurs during a race in which the core is unloaded, there won't be such a metric, resulting in a null then an exception stating "missing index size information for parent shard leader".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              haythemkh Haythem Khiri
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h 50m
                  1h 50m