Commit Graph

15883 Commits

Author SHA1 Message Date
Mark Robert Miller 1652b2649f LUCENE-4638, SOLR-3180: revert for now (try using the IW's writeLock to unlock)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425574 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 02:10:25 +00:00
Mark Robert Miller dfb17d3cdc LUCENE-4638, SOLR-3180: try using the IW's writeLock to unlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425561 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 00:15:16 +00:00
Mark Robert Miller a0676b3b0b SOLR-3180: remove bad assumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425554 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 22:58:30 +00:00
Uwe Schindler a2864cdcb0 Rename tempDir to workDir in Junit4 Macro, as suggested in ML thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425453 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 11:25:44 +00:00
Shalin Shekhar Mangar 460dec2c56 SOLR-4133: Cannot "set" field to null with partial updates when using the
standard RequestWriter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 10:01:08 +00:00
Shai Erera d64cfed291 LUCENE-4639: improve _TestUtil.getTempDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425439 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 08:15:02 +00:00
Mark Robert Miller c8f34f9f78 SOLR-3180: wait for leader to see our recovering state before peer sync as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425342 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 21:06:04 +00:00
Mark Robert Miller 3340abc8dd attempt to close the indexwriter correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425306 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 16:46:10 +00:00
Chris M. Hostetter 9fd744d160 SOLR-3972: Fix ShowFileRequestHandler to not log a warning in the (expected) situation of a file not found.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425207 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 00:07:35 +00:00
Mark Robert Miller 1088f1a4d4 tests: attempt to harden more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425090 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 19:00:28 +00:00
Mark Robert Miller db517c4bb8 tests: more fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425004 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 16:27:40 +00:00
Mark Robert Miller 8c40304671 tests: boost timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:18:17 +00:00
Mark Robert Miller 1ec855c560 tests: wait longer for inconsistency if necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424943 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:05:53 +00:00
Shalin Shekhar Mangar 6adb14e6af SOLR-4134: Added missing @Test annotation on unit test method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424909 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:12:23 +00:00
Shalin Shekhar Mangar f4547f6a3b SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424906 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:01:08 +00:00
Mark Robert Miller 4bd6402d16 raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 11:23:29 +00:00
Adrien Grand 048924a82e LUCENE-4634: New streaming API to read/write ints with arbitrary numbers of bits per value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424827 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 09:42:04 +00:00
Chris M. Hostetter a5608fb81e fix the 'double-slash' URL that has been taunting my nightmares ... doesn't appear to have any bearing on test correctness, but has definitely been confusing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424796 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:38:13 +00:00
Yonik Seeley fb0a737ff6 tests: allow calling useFactory more than once
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424793 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:12:37 +00:00
Mark Robert Miller 2d3b44c0e7 save the original index dir path, don't try to get it from the directory - it may be too late
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424783 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 01:34:15 +00:00
Chris M. Hostetter d34e50995a SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using the root context, and harden generateNodeName to not trust the caller as far as leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424755 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:26:08 +00:00
Robert Muir dd858fe20b link to correct stored fields file format docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424654 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 20:01:03 +00:00
Mark Robert Miller 719c4dd5e9 raise test so timeout for clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424611 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 17:57:22 +00:00
Mark Robert Miller 7a354cb5d0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:41:36 +00:00
Mark Robert Miller 430b975221 clean up and expand distrib mlt tests - still ignored until I can test on freebsd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424555 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:04:23 +00:00
Yonik Seeley d475d822d0 tests: grouping doesn't guarantee order of top level group commands
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424516 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:17:48 +00:00
Mark Robert Miller cb188b0679 don't alter recovery wait based on nightly or random multiplier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424510 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:09:05 +00:00
Mark Robert Miller 257219ca36 ignore distrib mlt test until its sorted out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424272 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 02:54:20 +00:00
Yonik Seeley 28f1884ab5 SOLR-4221: pick correct router for collection props
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424263 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 01:37:28 +00:00
Mark Robert Miller 8c91459f5b raise timeouts for wait to see state and get assigned shard id
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423993 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 18:12:36 +00:00
Yonik Seeley a9356fc3ea SOLR-4063: simplify core loading executor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423963 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:15:34 +00:00
Mark Robert Miller 0cc46b3cae attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:04:47 +00:00
Mark Robert Miller 6f875e270f attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423945 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:53:57 +00:00
Mark Robert Miller 232aaa42ed SOLR-4218: SolrTestCaseJ4 throws NPE when closing the core (on the afterClass method)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423932 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:41:18 +00:00
Steven Rowe aa695debba fix get-maven-poms target description
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423921 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:24:09 +00:00
Mark Robert Miller 7a5097d8f6 try / catch around pre and post close listeners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423918 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:19:37 +00:00
Shai Erera e25e019c1d clarify DocsEnum.freq javadocs + add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423846 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 12:51:16 +00:00
Yonik Seeley 0fbb260f1e tests: fix showDiff to only return differing ids
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423756 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:53:25 +00:00
Yonik Seeley ad7c665177 tests: start single jetty in cloud mode w/ manual shard assignment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423753 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:44:29 +00:00
Mark Robert Miller a8bc1ef02a don't interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423748 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:22:07 +00:00
Mark Robert Miller e40696cd81 SOLR-4213: Directories that are not shutdown until DirectoryFactory#close do not have close listeners called on them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423738 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 02:56:15 +00:00
Yonik Seeley 2b800b3c0e tests: don't start up default collection if numSlices<=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423729 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 01:00:58 +00:00
Michael McCandless 6086c66b64 LUCENE-4635: add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423720 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 23:51:47 +00:00
Mark Robert Miller 1389f64fbe SOLR-4203: whoops - fix npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:30:09 +00:00
Mark Robert Miller bef4454e2f SOLR-4203: dont check if ulog is set to delete tlogs files on startup - check if the tlog dir exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:00:15 +00:00
Yonik Seeley 5f502ec003 SOLR-3180: improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:30:39 +00:00
Uwe Schindler 0678f51ad5 SOLR-4205: Give jenkins-nightly another try with default mem settings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423587 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:27:52 +00:00
Mark Robert Miller 1255ff3338 test should retry on connectionloss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423534 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:09:34 +00:00
Mark Robert Miller 0a33ab46f7 better fail msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423532 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:06:10 +00:00
Mark Robert Miller 68637790e0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 16:11:18 +00:00