Mark Robert Miller
3a71167078
when we timeout waiting for recoveries to finish, print the zk cluster state and current stack traces for all threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403131 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 00:00:15 +00:00
Mark Robert Miller
2343f0d06a
more informative error msg in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:04:23 +00:00
Dawid Weiss
e0e91d252f
Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
...
hooks hanging forever by calling Runtime.halt() in addition to
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +00:00
Mark Robert Miller
5a6bb2b287
there should be a wait on this retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402808 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:41:22 +00:00
Robert Muir
2cfc445f82
solr test failures unrelated to freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 14:17:47 +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
Chris M. Hostetter
d4108c2b80
SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect field and document boosts
...
SOLR-3981: Fixed bug that resulted in document boosts being compounded in <copyField/> destination fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:22:23 +00:00
Dawid Weiss
8fd5dd6bdd
Updating rr to 2.0.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 21:05:46 +00:00
Michael McCandless
59a63c2f32
LUCENE-4451: upgrade to randomizedtesting-2.0.2.jar to reduce RAM overhead for tracking new threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 19:29:53 +00:00
Uwe Schindler
b2b3a7aec3
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392464 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 17:44:00 +00:00
Uwe Schindler
09720113f8
LUCENE-4445: Fix clover to correcty instrument all packages, improve permgen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391382 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 10:12:49 +00:00
Mark Robert Miller
d503f4a31f
SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory from RAMDirectoryFactory and MockDirectoryFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 23:02:14 +00:00
Mark Robert Miller
c656ba11bf
SOLR-3869: A PeerSync attempt to it's replicas by a candidate leader should not fail on o.a.http.conn.ConnectTimeoutException.
...
Also turn on the use of jetty test mode with sys prop that was no longer being used - this improves the situation when we restart jetty. Both of these fixes should help our FreeBSD continuous build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389160 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 22:58:40 +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
Sami Siren
b8f9525142
do not write to test-files dir, use dirs that are less likely to collide for jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Robert Muir
38d3c8ccd3
add missing resolve dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388246 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:13:55 +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
Dawid Weiss
5efe1b60ba
LUCENE-4406, LUCENE-4407: Upgrade to randomizedtesting 2.0.1.
...
Workaround for broken test output XMLs due to non-XML text unicode
chars in strings. Added printing of failed tests at the end of a
test run (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 13:19:12 +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
Mark Robert Miller
4214846719
switch some of the localhost usage to 127.0.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Robert Muir
362975cd8e
try to reduce the TestReplicationHandler noise to the dev list by not failing here for freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 12:45:26 +00:00
Mark Robert Miller
43d1451624
raise test timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:45:01 +00:00
Mark Robert Miller
eb275c2b43
SOLR-3831: Atomic updates do not distribute correctly to other nodes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller
ba5b6a4a71
try a longer wait
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385069 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 14:18:46 +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
1de28d8c21
SOLR-3826: Test framework improvements for specifying coreName on initCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384872 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 18:07:23 +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
Dawid Weiss
b3c300709c
LUCENE-4360: Support running the same test suite multiple times in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381123 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 10:05:44 +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
Sami Siren
dc0ad3cc2b
increase timeouts and wait time so that RecoveryZkTest is more likely to pass on a slower machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380581 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:57:27 +00:00
Dawid Weiss
f45c48e097
Don't interrupt zookeeper's SyncThread because it invokes system.exit. We
...
should ban System.exit via the policy file. Unfortunately System.exit is
used by the runner itself too (otherwise it wouldn't be able to exit the
JVM in the presence of background threads) so the policy would need to be
selective and either ban certain packages or revoke the grant for the
runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380200 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 11:10:53 +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
574d859d2b
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop - missed this class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378951 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:20:45 +00:00
Robert Muir
84fb1d09d0
LUCENE-4334: remove unnecessary ant-junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378090 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:50:28 +00:00
Chris M. Hostetter
769c9003cd
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Mark Robert Miller
12cbfaf62a
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 13:34:34 +00:00
Mark Robert Miller
c607f548bb
solrcloud: improve some logging, improve some testing, other minor tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +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
Dawid Weiss
d72080551a
Add issue pointer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372316 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 08:41:40 +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
Mark Robert Miller
f8bdd18671
fix test msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +00:00
Chris M. Hostetter
90fdd55ae5
remove broken @returns from javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +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
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Yonik Seeley
19aa69b0cd
SOLR-3656 SOLR-3662: core reload improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Robert Muir
22b5c84800
LUCENE-4243: MockDirectoryWrapper synchronizes too much
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Yonik Seeley
cc90a37ed7
tests: test harness shouldn't hold core reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:04:23 +00:00
Mark Robert Miller
fc2d0ca5e6
raise default timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 20:05:07 +00:00