Solr
  1. Solr
  2. SOLR-6651

Fix wrong logging in waitForReplicasToComeUp

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.10
    • Fix Version/s: 5.0, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

                  log.info("Waiting until we see more replicas up for shard " + shardId + ": total="
                    + slices.getReplicasMap().size() + " found=" + found
                    + " timeoutin=" + (timeoutAt - System.nanoTime() / (float)(10^9)) + "ms");
      

      That code isn't calculating the timeout correctly in the logging statement.

        Activity

        Hide
        ASF subversion and git services added a comment -

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

        SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp

        Show
        ASF subversion and git services added a comment - Commit 1634057 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1634057 ] SOLR-6651 : Fix wrong timeout logged in waitForReplicasToComeUp
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp

        Show
        ASF subversion and git services added a comment - Commit 1634059 from shalin@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1634059 ] SOLR-6651 : Fix wrong timeout logged in waitForReplicasToComeUp
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-6651: Don't log found twice

        Show
        ASF subversion and git services added a comment - Commit 1634060 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1634060 ] SOLR-6651 : Don't log found twice
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-6651: Don't log found twice

        Show
        ASF subversion and git services added a comment - Commit 1634061 from shalin@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1634061 ] SOLR-6651 : Don't log found twice
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          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