2854 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar
6069b78cc0 SOLR-6235: Improved logging in RecoveryStrategy and fixed a mistake in ElectionContext logging that I had made earlier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610351 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 07:46:59 +00:00
Shalin Shekhar Mangar
473e0189c6 SOLR-6240: Fixed broken tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610088 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 23:52:03 +00:00
Shalin Shekhar Mangar
92782a07db SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610033 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:55:00 +00:00
Shalin Shekhar Mangar
31d361d6ec SOLR-6235: Leader initiated recovery should use coreNodeName instead of coreName to avoid marking all replicas having common core name as down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610028 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:34:39 +00:00
David Wayne Smiley
4a7b55d258 SOLR-6183: bug, BBoxField didn't propagate docValues configuration.
And numberType is now a required attribute.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609291 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 20:31:37 +00:00
James Dyer
4007157b14 SOLR-2853: unit test for "spellcheck.maxCollationTries=0"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609171 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:22:08 +00:00
David Wayne Smiley
7cffcc7422 SOLR-6183: Spatial BBoxField using BBoxSpatialStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 03:42:09 +00:00
David Wayne Smiley
d1d8101289 SOLR-6183: AbstractSpatialFieldType: refactor getValueSourceFromSpatialArgs out of getQueryFromSpatialArgs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608991 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 02:24:19 +00:00
Shalin Shekhar Mangar
beeeba528f SOLR-6229: Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608680 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 07:29:30 +00:00
Steven Rowe
954f3dfdc5 SOLR-6180: Callers of ManagedIndexSchema mutators should hold the schemaUpdateLock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608646 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 03:20:54 +00:00
Chris M. Hostetter
474d846bb5 LUCENE-5790: Fix compareTo in MutableValueDouble and MutableValueBool, this caused incorrect results when grouping on fields with missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608639 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 01:23:11 +00:00
Shalin Shekhar Mangar
6c0539dd7f SOLR-6228: Make sure that versions are checked after index and config replication is complete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608601 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 20:37:33 +00:00
Shalin Shekhar Mangar
cec47f9baf SOLR-5596: Remove initCore call from afterClass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608562 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 19:05:58 +00:00
Shalin Shekhar Mangar
b30059948e SOLR-6225: Add the url of the node on which commitWithin failed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608138 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 21:58:20 +00:00
Shalin Shekhar Mangar
35d479f1b7 Increase timeout to 90 seconds to make it pass on slow jenkins machine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608127 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 20:21:46 +00:00
Uwe Schindler
4cdfa19970 LUCENE-5803: Add DelegatingAnalyzerWrapper, an optimized variant of AnalyzerWrapper that doesn't allow to wrap components or readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 11:32:31 +00:00
Shalin Shekhar Mangar
271576ed0f SOLR-6223: SearchComponents may throw NPE when using shards.tolerant and there is a failure in the 'GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG' phase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607897 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 17:54:53 +00:00
Noble Paul
2f28cc16e0 reverting SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Timothy Potter
d96d20fbdb SOLR-6157: Disable this test for now as it is still hanging on Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607420 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:57:40 +00:00
Noble Paul
af18eeed89 SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar
e15ff59929 SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Timothy Potter
5c75969c04 SOLR-6179: Fix unit test breakage by using InMemory storage if config dir is not writable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607128 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 16:06:59 +00:00
Timothy Potter
f512330b14 SOLR-6157: Refactor the ensureAllReplicasAreActive method into base class and ensure the ClusterState is updated to address intermittent test failures on Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607110 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 15:16:36 +00:00
Timothy Potter
59a18c685b SOLR-6179: Better strategy for handling empty managed data to avoid spurious warning messages in the logs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607102 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 14:49:26 +00:00
Shalin Shekhar Mangar
7c103dbf62 SOLR-6159: A ZooKeeper session expiry during setup can keep LeaderElector from joining elections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606996 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 07:00:04 +00:00
Alan Woodward
c96ff1d7cf SOLR-6171: Remove SolrCores coreNameToOrig map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606918 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 20:25:24 +00:00
Alan Woodward
3fb008e7f0 SOLR-6170: Merge CoreContainer preRegisterInZk and register methods into create method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 19:41:07 +00:00
Steven Rowe
b7290e523b SOLR-6215: TrieDateField should directly extend TrieField instead of forwarding to a wrapped TrieField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606794 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 15:46:54 +00:00
Steven Rowe
cbdbaa05a3 SOLR-6211: TrieDateField doesn't default to omitNorms=true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606734 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 13:43:24 +00:00
Dawid Weiss
680286c00e Temporarily disabling SSLMigrationTest; SOLR-6213 it's hanging the build server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606671 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 10:26:27 +00:00
Shalin Shekhar Mangar
98503b6c55 SOLR-6181: Deleting SliceStateUpdateTest since it has become redundant with ShardSplitTest and MigrateRouteKeyTest coming in.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606299 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 06:22:54 +00:00
Shalin Shekhar Mangar
5f22d328a4 SOLR-6044: The 'clusterstatus' API should return live_nodes as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606046 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 12:14:57 +00:00
Shalin Shekhar Mangar
70709b224a SOLR-6069: The 'clusterstatus' API should return 'roles' information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606034 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:29:14 +00:00
Shalin Shekhar Mangar
96b85b3970 SOLR-6072: The 'deletereplica' API should remove the data and instance directory by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605993 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 09:00:00 +00:00
Shalin Shekhar Mangar
d91568be77 SOLR-5309: Do not try to delete document ids whose addition had failed earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 19:20:28 +00:00
Shalin Shekhar Mangar
fa405e1a59 SOLR-6196: The overseerstatus collection API instruments amILeader and ZK state update calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605805 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 14:54:44 +00:00
Shalin Shekhar Mangar
c296d9df0f SOLR-6206: The migrate collection API fails on retry if temp collection already exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605771 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 12:58:19 +00:00
Shalin Shekhar Mangar
54b11b3eba SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is set in cluster properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605362 13f79535-47bb-0310-9956-ffa450edef68
2014-06-25 12:09:57 +00:00
Timothy Potter
b24d80fba3 SOLR-6189: Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605134 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 16:47:53 +00:00
Noble Paul
f2eacfd18b SOLR-5902: Corecontainer level mbeans are not exposed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605081 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 13:53:52 +00:00
Chris M. Hostetter
bbd4f58af5 expand test to show BQ skipping limit the number of times a nested func is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604990 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 01:16:57 +00:00
Chris M. Hostetter
665fc4df87 fix false assumptions about doc index order in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604898 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:20:32 +00:00
Timothy Potter
c7b6dfad62 SOLR-6157: Hang occurred again, somewhere in tearDown ... changing the code to close the socket proxies after super.tearDown, if that doesn't work, I'll add the AwaitsFix back to the code to ignore this test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604868 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 16:26:08 +00:00
Noble Paul
f220845368 SOLR-6095 wait for http responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604791 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 13:13:49 +00:00
Uwe Schindler
0e9d6de916 SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604122 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 10:16:48 +00:00
Timothy Potter
e18a021fa4 SOLR-6182: correctly cast managedData as a List<Object> when loading stored RestManager data; solution verified with manual testing only as the unit tests use in-memory storage so will need to re-work the backing store to test this behavior in the unit test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604078 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 03:24:37 +00:00
Chris M. Hostetter
2867f2c593 use Chaos Monkey's utility method for (re)starting up jetty so that we get it's automatic rety mechanism in the event that the old jetty process hasn't finished releasing the port
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604033 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 21:16:24 +00:00
Michael McCandless
ec2eaaafad LUCENE-5752: switch to simpler Automaton implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603752 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:22:08 +00:00
Shalin Shekhar Mangar
2fbc511c38 SOLR-6161: Walk the entire cause chain looking for an Error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603708 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 04:32:50 +00:00
Alan Woodward
23a3287f00 SOLR-6064: Return DebugComponent track output as JSON object
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603608 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 19:55:28 +00:00