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

ZkStateReader waitForState should check clusterState before using watchers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • main (10.0), 8.11.3, 9.4
    • None
    • None

    Description

      ZkStateReader waitForState creates watchers for any waiting for state. Instead if there is an existing clusterState it should be checked before creating expensive watchers. This improves delete by id/delete by query that ended up locking to create watchers multiple times due to SOLR-13833

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              3 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
                  1h