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

ZkController.publish doesn't use the updateLastState parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.10.2
    • 5.0, 6.0
    • SolrCloud
    • None

    Description

      One of ZkController's overloaded publish method has the following:

      public void publish(final CoreDescriptor cd, final String state, boolean updateLastState) throws KeeperException, InterruptedException {
          publish(cd, state, true, false);
        }
      

      Regardless of the updateLastState argument, the method calls publish with updateLastState set to true.

      Attachments

        1. SOLR-6754.patch
          0.6 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: