Andrzej Bialecki created SOLR-15076:
---------------------------------------

             Summary: Inconsistent metric types in ReplicationHandler
                 Key: SOLR-15076
                 URL: https://issues.apache.org/jira/browse/SOLR-15076
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Andrzej Bialecki
            Assignee: Andrzej Bialecki


As pointed out by [~dsmiley] in SOLR-14924 there are cases when ReplicaHandler 
returns unexpected type of a metric (string instead of a number):
{quote}
There are test failures in TestReplicationHandler introduced by this change (I 
think). See 
https://ci-builds.apache.org/job/Lucene/job/Lucene-Solr-Tests-8.x/1255/

java.lang.ClassCastException: java.lang.Integer cannot be cast to 
java.lang.String
 at __randomizedtesting.SeedInfo.seed([754427253A1E4E95:F190450AC46671D]:0)
 at 
org.apache.solr.handler.TestReplicationHandler.doTestDetails(TestReplicationHandler.java:361)
The test could be made to convert to a string. But it suggests an inconsistency 
that ought to be fixed – apparently ReplicationHandler sometimes returns its 
details using all strings and othertimes with the typed variants – and that's 
bad.
{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to