Mark Robert Miller
307ebd17cb
SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Yonik Seeley
43f36a5750
SOLR-2592: add additional level in clusterstate.json for collection properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421499 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:33:59 +00:00
Mark Robert Miller
59feed03d6
while waiting for solr, retry on exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421085 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 06:52:25 +00:00
Mark Robert Miller
38d16dc7b7
SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter
50407282a7
Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Mark Robert Miller
e8d2289a3f
SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420362 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:49:29 +00:00
Yonik Seeley
5b04be1195
SOLR-2592: avoid splitting composite router hash domains
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420338 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:21:12 +00:00
Yonik Seeley
c02c9dd262
SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Mark Robert Miller
0b7e234a69
SOLR-4124: change copyDirectory call to apache util
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420248 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 16:17:45 +00:00
Shai Erera
e2f54df3ca
fix missing Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Mark Robert Miller
ef21415d6c
SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419720 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:19:53 +00:00
Yonik Seeley
6f6211d310
SOLR-4118: Fix replicationFactor to align with industry usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Yonik Seeley
4a8408ceea
SOLR-2592: fix implicit router to return found slice, test querying via shards
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 16:54:01 +00:00
Yonik Seeley
7eb16a69a5
SOLR-2592: deleteByQuery routing support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418814 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:09:24 +00:00
Yonik Seeley
6a11fd8db6
SOLR-2592: realtime-get support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418762 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:00:15 +00:00
Yonik Seeley
27e2737ab2
finish removing nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418695 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 15:50:58 +00:00
Uwe Schindler
217f8b076b
Remove the nocommit failing all Jenkins builds! The Exception message is crazy enough *g*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 08:33:16 +00:00
Grant Ingersoll
10bb87d0bf
minor tweak to log message to know the event
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418428 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 18:44:54 +00:00
Grant Ingersoll
a8117d275d
minor tweak to log message to know the event
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418427 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 18:44:44 +00:00
Yonik Seeley
c82f4f61a6
SOLR-2592: fix composite id router for full-range
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418337 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 14:47:34 +00:00
Yonik Seeley
c08e5eaf20
SOLR-2592: fix composite id router slice selection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418116 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 22:36:52 +00:00
Yonik Seeley
5cb909b11f
SOLR-2592: fix shifting by 32 bits in compositeId router
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418100 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:51:32 +00:00
Yonik Seeley
b81dc76340
SOLR-2592: add hash router tests, fix compositeId bit specification parsing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418093 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:32:17 +00:00
Yonik Seeley
ff17839ed6
SOLR-2592: refactor routers to separate public classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418043 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 19:50:30 +00:00
Robert Muir
f5fdf9362f
null static field for GC in base test class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417545 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:29:59 +00:00
Yonik Seeley
e34b5ea98e
SOLR-2592: delegate query-time shard selection to collection router
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 02:01:02 +00:00
Yonik Seeley
91a788e871
SOLR-2592: refactor doc routers, use implicit router when implicity creating collection, use collection router to find correct shard when indexing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416216 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 18:00:11 +00:00
Yonik Seeley
1cee959d6b
SOLR-2592: progress - introduce DocCollection, add properties for collections, add a router collection property, add some builtin routers, rename HashPartitioner to DocRouter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 17:13:26 +00:00
Mark Robert Miller
672eeff8d2
SOLR-4087: Add MAX_DOC_FREQ option to MoreLikeThis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 17:53:06 +00:00
Mark Robert Miller
617028b3c1
avoid possible logging npe in race
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411932 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:50:39 +00:00
Mark Robert Miller
dad188820e
SOLR-3602: Update ZooKeeper to 3.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:36:14 +00:00
Mark Robert Miller
27181e53a0
* SOLR-4003: The SolrZKClient clean method should not try and clear zk paths that start with /zookeeper, as this can fail and stop the removal of further nodes. (Mark Miller)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408831 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:56:27 +00:00
Yonik Seeley
8d047adbb9
SOLR-3989: SolrZkClient constructor dropped exception cause when throwing a new RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408510 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 00:03:58 +00:00
Mark Robert Miller
f902314d74
SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Mark Robert Miller
267df1a190
SOLR-4067: ZkStateReader#getLeaderProps should not return props for a leader that it does not think is live.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408305 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 14:37:12 +00:00
Mark Robert Miller
e92475e10e
SOLR-4063: Allow CoreContainer to load multiple SolrCores in parallel rather than just serially.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 19:18:03 +00:00
Robert Muir
25eab66662
try to fix the worst of the class summaries so that the first sentence is parsed correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406454 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 04:29:25 +00:00
Chris M. Hostetter
b6db7c76f1
SOLR-3904: progress adding package.html files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406204 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:17:50 +00:00
James Dyer
3ea6657976
SOLR-4019: Log 503 stack traces unless from PingRequestHandler. Suppress logging some stack traces with ShowFileRequestHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:39:30 +00:00
Chris M. Hostetter
fcee466184
More tests, written to try and demonstrate SOLR-4020
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404318 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:51:03 +00:00
Alan Woodward
85f92b37f3
SOLR-1972: Ignore metrics threads in JettyWebappTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:34:42 +00:00
Alan Woodward
228ad7f439
SOLR-1972: Ignore metrics threads in SolrJ tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403667 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 11:19:32 +00:00
Alan Woodward
dac9a06854
SOLR-4004: Improve Javadoc for SolrPing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403109 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 22:08:09 +00:00
Mark Robert Miller
245133a3bd
raise test timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 16:13:30 +00:00
Mark Robert Miller
42f27adc1a
SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Mark Robert Miller
80b39a3ba7
SOLR-3995: Recovery may never finish on SolrCore shutdown if the last reference to a SolrCore is closed by the recovery process
...
SOLR-3994:Create more extensive tests around unloading cores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402393 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:18:51 +00:00
Mark Robert Miller
a74ae3ab2a
remove sys out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402368 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 01:26:40 +00:00
Mark Robert Miller
1233f3611f
SOLR-3920: Fix server list caching in CloudSolrServer when using more than one collection list with the same instance.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402360 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 00:30:03 +00:00
Mark Robert Miller
e1b693ddb2
SOLR-3933: Distributed commits are not guaranteed to be ordered within a request.
...
SOLR-3939: An empty or just replicated index cannot become the leader of a shard after a leader goes down.
SOLR-3971: A collection that is created with numShards=1 turns into a numShards=2 collection after starting up a second core and not specifying numShards.
SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 17:52:15 +00:00
Dawid Weiss
53fd5c850d
Clean up fields after each test, static->instance scope.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 06:51:59 +00:00