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

Fix wrong logging in waitForReplicasToComeUp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          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: