Commit Graph

350 Commits

Author SHA1 Message Date
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
Chris M. Hostetter 8fbb2b627e SOLR-3903: Fixed MissingFormatArgumentException in ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393794 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:07:09 +00:00
Yonik Seeley c98f935688 SOLR-3897: hl.preserveMulti to preserve all multiValued field values when highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:45:54 +00:00
David Wayne Smiley 15076ecf28 SOLR-2255 local-param support for pivot faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389680 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:56:33 +00:00
Uwe Schindler c08962374e LUCENE-4409: Improve ECJ-Linter (permgen, taskname) + fix whitespace bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389491 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 17:25:14 +00:00
Robert Muir 798fd49a76 LUCENE-4409: implement javadocs linting with eclipse ecj compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389188 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 02:56:46 +00:00
Robert Muir f025322f81 fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
Uwe Schindler 37413e4ede SOLR-3733: Fix NPE, now it seems to work - sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:13:28 +00:00
Uwe Schindler be1dcd3b84 SOLR-3733: make field final...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388134 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:46:24 +00:00
Uwe Schindler d8b3452432 SOLR-3733: More improvements: don't hang on the died threads until forever...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:41 +00:00
Robert Muir 024e22c873 fix broken links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388131 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:07 +00:00
Uwe Schindler 7071771000 SOLR-3733: fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388124 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:32:26 +00:00
Uwe Schindler 39757948fe SOLR-3733: Fix crazy zookeeper test-only stuff by reflection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388122 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:31:19 +00:00
Robert Muir 8b6c905e7c SOLR-3733: nuke this o.a.zookeeper package, Uwe your turn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:32:14 +00:00
Robert Muir 2aa725773f SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +00:00
Uwe Schindler 7405b9772b SOLR-3733: First version of patch (without Robert's changes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Chris M. Hostetter 52d9fdb780 SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Robert Muir c529308734 fix javadocs bugs found by my IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +00:00
Yonik Seeley 9be371a198 SOLR-3815: preserve shard properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
Yonik Seeley 7ae776e2d1 SOLR-3815: fix overseer.setShardLeader to not modify existing state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +00:00
Erick Erickson 580b53efdd Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Yonik Seeley 8c5fc86a38 SOLR-3815: change clusterstate structure to add properties to slices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson ded01621a4 Fix for LUCENE-4362, ban tabs-indent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +00:00
Mark Robert Miller f0185fb9d5 SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.

SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.

SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.

SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
  
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.

SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
  
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.

SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
  
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter ee1e747c29 SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed by Collections passed in to setValue/setField, and defensively copy values from Collections passed to addValue/addField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383520 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:38:45 +00:00
Robert Muir 6d0060a45f fix broken javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382777 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:59:27 +00:00
Yonik Seeley b34c9a9683 SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Robert Muir 8eb52eb9ab SOLR-3686: clean this up for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381835 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:59:22 +00:00
Robert Muir 8a72b10926 SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381834 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:57:24 +00:00
Robert Muir ddda1b6089 SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe d3383239f8 LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +00:00
Mark Robert Miller 678e35aa58 SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Mark Robert Miller 278200cfaa SOLR-3772,SOLR-3750: make optional, wait time configurable, default to off
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380299 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:14:25 +00:00
Yonik Seeley 7af7d1de48 SOLR-3755: shard splitting - create cores, use writers from cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380287 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 16:36:20 +00:00
Yonik Seeley 7754d1d105 SOLR-3755: basic shard splitting code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:31:56 +00:00
Mark Robert Miller 2fdd58398a SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process or if they all do not come up, N amount of time. 

SOLR-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json 

SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller e31ddf3554 use sendToLeaders rather than replicas != null to determine if we add repicas to end of the list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378922 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:18:29 +00:00
Sami Siren ae43103d15 reuse existing code, baseUrl and coreName can no longer be null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378512 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 12:06:03 +00:00
Sami Siren fdc313d3bc fix test, remove unused method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:58:38 +00:00
Sami Siren 96767652d7 SOLR-3726 allow more flexibility in configuring solr http clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374964 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 10:32:52 +00:00
Yonik Seeley 84a8768b5d SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Uwe Schindler 5a940c12d8 Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374079 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:57:13 +00:00
Uwe Schindler 00167f1514 Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:50:41 +00:00
Uwe Schindler a59f38a03a Better verbosity, also fix bug in while loop with char==0.
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:53:45 +00:00
Robert Muir 2a83b58506 use assertEquals so we will see whats going on when this fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373994 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:31 +00:00
Mark Robert Miller d4b66af3b3 SOLR-3727: improve solrcloud close/shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +00:00
Mark Robert Miller 2c31ae30e5 SOLR-3727: improve solrcloud close/shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Sami Siren 1d27c0364b SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +00:00
Dawid Weiss cebfa0b9b9 LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Yonik Seeley 932901bb01 SOLR-3715: remove sync around tlog serialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Mark Robert Miller e528549a3b still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Mark Robert Miller fec289ee99 SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:03:42 +00:00
Mark Robert Miller 238c4274b6 SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.	

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Mark Robert Miller de3d41432c rename CloudState to ClusterState
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:32:33 +00:00
Mark Robert Miller 7add2f7c62 LUCENE-3985: add close methods to Overseer and ConnectionManager and use them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369236 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:34:08 +00:00
Mark Robert Miller 66dac680fe assume that sometimes the zk state can be stale vs our watcher based state when checking our state matches zk state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369189 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:03:16 +00:00
Mark Robert Miller 45030e76eb SOLR-3639: Update ZooKeeper to 3.3.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:22:17 +00:00
Yonik Seeley e397d26dea SOLR-3154: add murmurhash3 that can work directly on a string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 22:08:32 +00:00
Robert Muir 6d2a288be3 LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
Mark Robert Miller 6578d7f512 SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Mark Robert Miller b1fb39754b don't treat 404 special and lost the http response code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363330 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:49:55 +00:00
Mark Robert Miller 24dae70408 SOLR-3639: Update ZooKeeper to 3.3.5 for a variety of bug fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:26:47 +00:00
Mark Robert Miller 83e07fec09 SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller e7d1278836 Add reload command to collections api - also improve tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Mark Robert Miller 46021d4575 SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir 33e06a219d LUCENE-4199: dont use ioutils here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:15:52 +00:00
Robert Muir aa13466422 LUCENE-4199: disallow deprecated jdk methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Robert Muir 123b645157 LUCENE-4199: fix remaining violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir 46cb8b9780 LUCENE-4199: fix more default locale/charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00