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

ZkController.publish doesn't use the updateLastState parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.10.2
    • Fix Version/s: 5.0, 6.0
    • Component/s: SolrCloud
    • Labels:
      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: