Solr
  1. Solr
  2. SOLR-7840

ZkStateReader.updateClusterState fetches watched collections twice from ZK

    Details

      Description

      ZkStateReader.updateClusterState fetches watched collections once during constructState and then again after re-acquiring the update lock.

      Fetching the watched collections live from ZK once is enough.

      1. SOLR-7840.patch
        2 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Simple patch which calls updateWatchedCollection in constructState and removes the redundant live fetch of watched collections.

        Show
        Shalin Shekhar Mangar added a comment - Simple patch which calls updateWatchedCollection in constructState and removes the redundant live fetch of watched collections.
        Hide
        ASF subversion and git services added a comment -

        Commit 1693251 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1693251 ]

        SOLR-7840: ZkStateReader.updateClusterState fetches watched collections twice from ZK

        Show
        ASF subversion and git services added a comment - Commit 1693251 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1693251 ] SOLR-7840 : ZkStateReader.updateClusterState fetches watched collections twice from ZK
        Hide
        ASF subversion and git services added a comment -

        Commit 1693252 from shalin@apache.org in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1693252 ]

        SOLR-7840: ZkStateReader.updateClusterState fetches watched collections twice from ZK

        Show
        ASF subversion and git services added a comment - Commit 1693252 from shalin@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1693252 ] SOLR-7840 : ZkStateReader.updateClusterState fetches watched collections twice from ZK
        Hide
        Shalin Shekhar Mangar added a comment -

        Bulk close for 5.3.0 release

        Show
        Shalin Shekhar Mangar added a comment - Bulk close for 5.3.0 release

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development