Solr
  1. Solr
  2. SOLR-7420

Overseer stats are not reset on loss of ZK connection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.10.4, 5.1
    • Fix Version/s: 5.2, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Overseer stats are not reset when a node loses overseership due to a connection time out. If/when that node regains overseership in the future, statistics such as collection_operations/create/errors will resume from where they left off. If, in contrast, a node loses overseership due to a restart, those statistics reset to zero, so if/when that node regains overseership later on stats start from zero.

      Thanks to Jessica Cheng Mallet for catching this one.

      1. SOLR-7420.patch
        5 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Simple fix + test.

        Show
        Shalin Shekhar Mangar added a comment - Simple fix + test.
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-7420: Overseer stats are not reset on loss of ZK connection

        Show
        ASF subversion and git services added a comment - Commit 1674458 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1674458 ] SOLR-7420 : Overseer stats are not reset on loss of ZK connection
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-7420: Overseer stats are not reset on loss of ZK connection

        Show
        ASF subversion and git services added a comment - Commit 1674463 from shalin@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1674463 ] SOLR-7420 : Overseer stats are not reset on loss of ZK connection
        Hide
        Anshum Gupta added a comment -

        Bulk close for 5.2.0.

        Show
        Anshum Gupta added a comment - Bulk close for 5.2.0.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development