lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-9069) Cleanup/rename confusion of shardCount in tests actually being serverCount
Date Wed, 04 May 2016 18:25:12 GMT
David Smiley created SOLR-9069:
----------------------------------

             Summary: Cleanup/rename confusion of shardCount in tests actually being serverCount
                 Key: SOLR-9069
                 URL: https://issues.apache.org/jira/browse/SOLR-9069
             Project: Solr
          Issue Type: Test
          Components: Tests
            Reporter: David Smiley


BaseDistributedSearchTestCase has a shardCount field, which can be set directly or via the
{{\@ShardsFixed}} annotation.  For some (esp. older) tests, this is in fact the number of
"shards" (disjoint slices of your overall data), but it's also the number of Solr/Jetty servers/nodes.
 Subclasses like AbstractFullDistribZkTestBase define sliceCount, adding to the confusion,
and define however many shards (slices) they want -- separately from the number of servers
(which is configured confusingly, as stated, via ShardsFixed).  This is confusing!  I'm not
100% sure what the solution is, I'll suggest some ideas, but we should discuss.

Of course we got to this situation historically before SolrCloud existed; no excuses needed.
 Now we should fix it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message