Commit Graph

617 Commits

Author SHA1 Message Date
Mark Robert Miller 54e1003047 SOLR-5837: Clean up issue: Add hashCode/equals to SolrDocument, SolrInputDocument and SolrInputField for testing purposes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576004 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 17:10:04 +00:00
Noble Paul 85b7575a86 SOLR-5265 Add backward compatibility tests to JavaBinCodec's format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575932 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 13:02:56 +00:00
Noble Paul babbd07ed1 SOLR-5837 Added .equals method for SolrDocument, SolrInputDocument and SolrInputField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 10:18:42 +00:00
Erick Erickson 4bfbd583d3 SOLR-5825, Separate http request creation and execution in SolrJ. Thanks Steve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575576 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 17:36:29 +00:00
Mark Robert Miller 3e2a817539 Fix javadoc spelling.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574577 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:20:36 +00:00
Joel Bernstein f48d27f241 SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 15:45:59 +00:00
Mark Robert Miller aba8b8ae3c SOLR-5761: HttpSolrServer has a few fields that can be set via setters but are not volatile.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573442 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:35:45 +00:00
Mark Robert Miller a42db70dec SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when streamDeletes is true that should be tucked into the if statement below it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573438 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:22:26 +00:00
Mark Robert Miller 9441f0d4ce SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller 254324f5a6 SOLR-5799: Add assert to new test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573419 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:58:45 +00:00
Mark Robert Miller 57e5bfc8f2 SOLR-5799: Add TestRetryUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573416 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:52:13 +00:00
Mark Robert Miller a828f6ff05 SOLR-5799: Fix impl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573401 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:09:13 +00:00
Mark Robert Miller 5d7c4f5361 tests: raise zk connect timeout when building zk for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573257 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 04:40:02 +00:00
Mark Robert Miller f1cddb92ee SOLR-5799: When registering as the leader, if an existing ephemeral registration exists, wait a short time to see if it goes away.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 00:27:25 +00:00
Mark Robert Miller baa8987cff SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572974 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 15:44:14 +00:00
Mark Robert Miller d98ee29e8e SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572408 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 02:23:20 +00:00
Mark Robert Miller 4d975ea3a9 tests: some doc improvements around SuppressSSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:34:41 +00:00
Mark Robert Miller f502acd52d SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572275 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 21:38:48 +00:00
Mark Robert Miller 4effc2135b tests: enable test - no JIRA issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572143 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:23:25 +00:00
Mark Robert Miller ff0a6b3450 tests: enable test, supress ssl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572136 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:20:47 +00:00
Robert Muir 00e339395e SOLR-5775: disable constantly failing solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572036 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 12:55:22 +00:00
Mark Robert Miller c408c5258e SOLR-5770: All attempts to match a SolrCore with it's state in clusterstate.json should be done with the CoreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571349 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:16 +00:00
Noble Paul 79e9707ce7 SORL-5609 Don't let cores create slices/named replicas , SOLR-5130 addReplica Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571264 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 12:31:30 +00:00
Shalin Shekhar Mangar 55426d5070 SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY stage gets all fields. Requests with fl=id or fl=id,score are now single-pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571152 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 05:43:23 +00:00
Uwe Schindler 955282775c SOLR-5764: Fix recently added tests to not use absolute paths to load test-files, use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce to not duplicate test resources and fix dependencies among them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570898 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 20:02:13 +00:00
Noble Paul 225459815c SOLR-5762 broke backward compatibility of Javabin format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570793 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 06:19:16 +00:00
Mark Robert Miller 42f445b035 tests: remove this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:06:21 +00:00
Mark Robert Miller b3044d6a04 SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see the latest aliases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569603 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:58:16 +00:00
Benson Margulies 36b2f2512b LUCENE-5449: Rename _TestUtil to TestUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569597 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:38:33 +00:00
Mark Robert Miller c95e1f4969 SOLR-5727: LBHttpSolrServer should only retry on Connection exceptions when sending updates. Affects CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568857 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 23:29:23 +00:00
Mark Robert Miller 0b023e5236 SOLR-5718: Make LBHttpSolrServer zombie checks non-distrib and non-scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568394 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:47:21 +00:00
Mark Robert Miller 43ab8b9ef2 SOLR-5731: The actual catch and loging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568354 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:02:53 +00:00
Mark Robert Miller f8a0cae647 SOLR-5721: ConnectionManager can become stuck in likeExpired.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568337 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 15:36:00 +00:00
Mark Robert Miller 98810d1f54 SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Mark Robert Miller cf3bef28fc SOLR-5649: Clean up some minor ConnectionManager issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 21:16:45 +00:00
Noble Paul ce3b4becb4 SOLR-5609 Reverting accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567014 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:55:48 +00:00
Noble Paul 1588fd5f5a SOLR-5476 added testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567012 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:46:07 +00:00
Mark Robert Miller f5a1519069 SOLR-3854: Allows the test harness to perform two-way SSL handshakes, the two-way SSL will now be randomly selected during test runs. Also, cleaned up some of the code by breaking out the SSLConfig into a separate class. Also try and address failing the statics retained check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 06:08:37 +00:00
Mark Robert Miller de6514e214 SOLR-3854: SSL support for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
Shalin Shekhar Mangar e4ed871c5e SOLR-5659: Add test for compositeId ending with a separator char
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565572 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 08:13:47 +00:00
Shalin Shekhar Mangar 459aca19a2 SOLR-5644: SplitShard does not handle not finding a shard leader well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 07:03:22 +00:00
Mark Robert Miller fd85c3623b SOLR-5702: Log config name found for collection at info level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 19:01:51 +00:00
Shalin Shekhar Mangar 95610a8c58 SOLR-4227: Wrap XML RequestWriter's OutputStreamWriter in a BufferedWriter to avoid frequent converter invocations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565099 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 07:50:17 +00:00
Mark Robert Miller 3b43c10bd1 SOLR-5672: Add logParamsList parameter to support reduced logging. Closes #23.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565072 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 05:08:11 +00:00
Mark Robert Miller 8b4ea8885e SOLR-5678: SolrZkClient should throw a SolrException when connect times out rather than a RuntimeException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565056 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:01:36 +00:00
Shalin Shekhar Mangar aba50169d0 SOLR-5530: Remove empty throws clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564720 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:59:37 +00:00
Shalin Shekhar Mangar 315263e31f SOLR-5530: Fix forbidden-api-check failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564712 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:41:07 +00:00
Shalin Shekhar Mangar e262c75e81 SOLR-5530: Added a NoOpResponseParser for SolrJ which puts the entire raw response into an entry in the NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564709 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:03:26 +00:00
Noble Paul 732f295c4f SOLR-5610 New Collectio API called CLUSTERPROP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563876 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 13:16:12 +00:00
Robert Muir 584fda3bdf LUCENE-5410: add fuzzy and near to SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563558 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 02:57:02 +00:00
Shalin Shekhar Mangar 7b7a1b5592 SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563392 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 11:12:59 +00:00
Mark Robert Miller c0ae2fa0c1 SOLR-5676: SolrCloud updates rejected if talking to secure ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563189 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 17:39:03 +00:00
Shalin Shekhar Mangar fa2423a2ec SOLR-5673: HttpSolrServer doesn't set own property correctly in setFollowRedirects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562898 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 17:16:00 +00:00
Shalin Shekhar Mangar d5a8bdd767 SOLR-5658: Removing System.out.println in JavaBinUpdatedRequestCodec added for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562836 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 14:20:28 +00:00
Noble Paul 6849fe3286 SOLR-5476 tests were failing earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 13:17:27 +00:00
Mark Robert Miller cb8b1cd32b SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561497 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 14:51:55 +00:00
Mark Robert Miller a9670cc6e7 SOLR-5658: commitWithin and overwrite are not being distributed to replicas now that SolrCloud uses javabin to distribute updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560859 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 00:53:06 +00:00
Mark Robert Miller 1941777fdc SOLR-5577: Protect against NPE race with close - spotted by Greg Chanan
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559844 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 22:25:44 +00:00
Mark Robert Miller f698963775 SOLR-5643: ConcurrentUpdateSolrServer will sometimes not spawn a new Runner thread even though there are updates in the queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559620 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 02:59:59 +00:00
Mark Robert Miller 3b5b96a3ef SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559587 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 21:20:58 +00:00
Mark Robert Miller a8b5fe376a SOLR-4260: If in blockUntilFinished and there are no Runners running and the queue is not empty, start a new Runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558996 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:36:26 +00:00
Mark Robert Miller 7a85486551 SOLR-4260: Guard against NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558985 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:06:31 +00:00
Mark Robert Miller 5cacfe37f7 SOLR-4260: ConcurrentUpdateSolrServer#blockUntilFinished can return before all previously added updates have finished. This could cause distributed updates meant for replicas to be lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 01:48:41 +00:00
Noble Paul 359d41adf5 SOLR-5476 Overseer Role for nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558760 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 11:25:57 +00:00
Mark Robert Miller cb23c8ba3c SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Mark Robert Miller dd8dd70360 SOLR-5577: timer thread should be run as daemon
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557136 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 14:42:16 +00:00
Joel Bernstein 23ae54b652 SOLR-5541: Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556903 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 18:14:58 +00:00
Mark Robert Miller 4f72365ba2 SOLR-5615: Deadlock while trying to recover after a ZK session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 16:35:17 +00:00
Chris M. Hostetter 5efc4132f1 SOLR-5463: new 'cursorMark' request param for deep paging of sorted result sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 21:15:45 +00:00
Mark Robert Miller 277728236b SOLR-5577: don't start timer thread on expiration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556002 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 19:55:12 +00:00
Uwe Schindler 2e6b894036 LUCENE-5372: Replace StringBuffer by StringBuilder, where possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555645 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 23:04:09 +00:00
Mark Robert Miller ba5ab6faa7 SOLR-5577: don't start timer thread in constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555610 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 18:49:31 +00:00
Mark Robert Miller e8b46f76a7 SOLR-5577: fix possible race on canceling timer on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555204 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 19:06:22 +00:00
Mark Robert Miller 9b5c2e254b SOLR-5586: All ZkCmdExecutor's should be initialized with the zk client timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554101 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 23:52:58 +00:00
Mark Robert Miller 3b4a1c2c5f SOLR-5583: ConcurrentUpdateSolrServer#blockUntilFinished may wait forever if the executor service is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554053 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 18:58:18 +00:00
Mark Robert Miller 419d644f40 SOLR-5577: Don't start a timer on disconnect if we are already closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 00:14:01 +00:00
Mark Robert Miller 9a5c901fd6 SOLR-5442: Move CHANGES entry to 4.6.1
SOLR-5445: Move CHANGES entry to 4.6.1

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553942 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 22:18:24 +00:00
Mark Robert Miller cd9e1129ec SOLR-5577: Likely ZooKeeper expiration should not slow down updates a given amount, but instead cut off updates after a given time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553912 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 20:49:13 +00:00
Noble Paul 97d3e2d546 SOLR-5525 use hasCollection()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553095 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 11:44:21 +00:00
Mark Robert Miller e7d67c783b SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. 
SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553031 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 21:16:52 +00:00
Mark Robert Miller 136a2c7190 SOLR-5562: ConcurrentUpdateSolrServer constructor ignores supplied httpclient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552691 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:56:07 +00:00
Alan Woodward d22cffebb7 SOLR-5555: CloudSolrServer and LBHttpSolrServer shouldn't throw MUE from constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550824 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 19:47:06 +00:00
Mark Robert Miller 5b0ae51d63 SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 21:57:39 +00:00
Noble Paul 60a881a00b SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549552 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:29 +00:00
Mark Robert Miller c7a3b96893 SOLR-5532: SolrJ Content-Type validation is too strict for some webcontainers / proxies.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548659 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 19:01:03 +00:00
Mark Robert Miller a758823bbe Clean up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548587 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:41:08 +00:00
Noble Paul 0754f884a1 SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548503 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 12:58:35 +00:00
Uwe Schindler 7bf6ee0a92 Fix annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547631 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 22:56:56 +00:00
Noble Paul dab93e43cc SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547565 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 20:20:48 +00:00
Mark Robert Miller 1f57856b90 SOLR-5502: A "/" in a document id will cause an exception to be thrown when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547452 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 16:10:58 +00:00
Ryan Ernst ce46fecc28 SOLR-5517: Return HTTP error on POST requests with no Content-Type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547322 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 09:19:30 +00:00
Mark Robert Miller 1e42240e89 SOLR-5482: add option to simulate hard jetty fails with iptables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546863 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 21:58:45 +00:00
Shalin Shekhar Mangar 1460d8c9d5 SOLR-5023: Add support for deleteInstanceDir to be passed from SolrJ for Core Unload action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546793 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 09:06:31 +00:00
Mark Robert Miller a6eb226481 boost the get leader timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546679 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:30:56 +00:00
Mark Robert Miller 2912823f3a tests: up get leader timeout default to 2s from 1s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545530 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 03:30:40 +00:00
Mark Robert Miller 9e7b76f893 tests: have TestLBHttpSolrServer extend SolrTestCaseJ4 so it runs jetty in test mode and is happier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 06:46:35 +00:00
Mark Robert Miller 739dae21da SOLR-5496: We should share an http connection manager across non search HttpClients and ensure all http connection managers get shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544899 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 01:59:56 +00:00
Mark Robert Miller 69bb099bd8 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544417 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:09:38 +00:00
Shalin Shekhar Mangar 911ee1dcd3 SOLR-5308: Use source collection's configName to create temp collection. Fixed NPE routing rule wait loop. Wait for temp collection leader to be active before splitting the source index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544414 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 05:05:36 +00:00
Uwe Schindler 0971bc8f21 LUCENE-5347: Upgrade forbidden-apis checker to version 1.4. Fix Zookeeper bug with default encoding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544370 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 23:27:19 +00:00