Commit Graph

12234 Commits

Author SHA1 Message Date
Michael McCandless e1a808d489 drop 100% deleted segments before merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237038 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 10:43:52 +00:00
Mark Robert Miller 7a0a470401 tweak test and pull atLeast() out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236968 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 03:03:46 +00:00
Mark Robert Miller ece30470f2 try making sure we wait for any recovery to stop for each core in core container shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236959 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:19:42 +00:00
Mark Robert Miller 1c24188e0b don't add to the num open count until the constructor is finished
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236958 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:17:37 +00:00
Mark Robert Miller 5a020a48d2 change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236956 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:03:29 +00:00
Mark Robert Miller d3fa5ea86e try raising how long we will wait for balanced open/close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Steven Rowe 97d62cc383 Fix offset array assertion off-by-one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236912 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 22:43:48 +00:00
Yonik Seeley f6e22fd4fa SOLR-3035: make text response writers work with byte, short, and byte[] values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:27:57 +00:00
Mark Robert Miller cc93925b9f don't allow registering a new SolrCore if the CoreContainer has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:19:08 +00:00
Mark Robert Miller af77591d7a remove this isClosed check that we didn't have before and shouldn't need now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:02:31 +00:00
Mark Robert Miller ac664ba310 fix bad javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 20:53:15 +00:00
Yonik Seeley 7784c42dd1 refactor: make javabin use ByteUtils for encoding/decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:45:26 +00:00
Steven Rowe 02d4bd91df SOLR-2358: Add new solrj dependency apache-solr-noggit-*.jar to solrj-lib/ when producing a distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236859 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:44:42 +00:00
Steven Rowe 3df14f6b1a SOLR-2358: Maven configuration: add new solr-noggit dependency to the solrj module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236855 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:37:52 +00:00
Robert Muir b3b3235301 add assert to prevent confusion when writing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236842 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:10:11 +00:00
Mark Robert Miller 2bc0007244 try ignoring this test for now so we can isolate which tests are involved in the indexsearcher open/close imbalance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236830 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:53 +00:00
Yonik Seeley 0545651342 revive ByteUtils to remove lucene dependency in solrj, refactor JavaBinCodec to reuse UTF8 encoding function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:06 +00:00
Yonik Seeley b141bbb52e tests:remove tracing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Robert Muir 178857bc10 merge trunk (1235909:1236795)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1236796 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:15:52 +00:00
Robert Muir 566c135934 LUCENE-3661: track count instead of relying on codec to count() in its livedocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1236793 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:14:00 +00:00
Yonik Seeley f7e8a4abd4 tests: dial logging back down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236777 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:40:20 +00:00
Mark Robert Miller 924857fc44 remove this check and use of lucene core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236774 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:34:54 +00:00
Yonik Seeley a557fb9f24 tests: don't make it an error if counts aren't reset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Mark Robert Miller 440a7991d3 try to be more aggressive shutting down the search executor in the face of interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:40:49 +00:00
Mark Robert Miller 6d1e24554a be more aggressive about trying to shut down executors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:31:47 +00:00
Robert Muir a7d6e5237c fix javadocs error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236673 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:11:10 +00:00
Robert Muir 9b25df1a38 LUCENE-3722: enable sims to score > 2B docs for the distributed case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:04:05 +00:00
Mark Robert Miller 17a5d3e5cb we don't care if commit fails while we wait for things to settle down in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236525 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:38:02 +00:00
Mark Robert Miller 21e0d0c909 must have lost this: when force=true, do not trust comparing version and generation - this is not a strong enough check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:12:20 +00:00
Mark Robert Miller ccee2bca8f ensure that a newly opened searcher has a non null newIndexDir to work from
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:49:51 +00:00
Mark Robert Miller d2a21994e9 fix how we poll for the leader in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236488 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:40:52 +00:00
Mark Robert Miller e679634db6 boost timeout on test for the really slow system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:24:39 +00:00
Yonik Seeley 6279c500a2 tlog: nuke unwanted localization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236480 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:12:36 +00:00
Mark Robert Miller 4d9a1d0862 set the name of the recovery thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236463 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:23:21 +00:00
Yonik Seeley d405c74084 tests: reset counts at start of test also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Michael McCandless c56e845c68 DocTermOrds requires atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:20:10 +00:00
Mark Robert Miller 9469e0e0a7 ensure that we have shard leaders before the tests begin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:05:21 +00:00
Mark Robert Miller 231445f166 raise the length of time that we are willing to wait for searchers to be closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Michael McCandless b414855e41 add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236431 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:51:43 +00:00
Michael McCandless f31b36f413 whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236429 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:50:11 +00:00
Yonik Seeley 9db16cd23b tests: try to track down the tlog-already-exists issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236410 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:09:08 +00:00
Mark Robert Miller b0ea2de37d boost this test poll timeout just a bit more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:01:34 +00:00
Mark Robert Miller 0d578c8c8c add a bit of javadoc and be sure we don't register as active unless a recovery was *not* started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 20:38:04 +00:00
Mark Robert Miller 790045ae03 add a check that ensures we see the number of shards that we would expect in the cluster state before the test starts and retry after a pause if we do not
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:46:42 +00:00
Michael McCandless 961f3f1dff close merge readers before checkpoint, so IFD can delete the files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236357 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:30:17 +00:00
Mark Robert Miller 51c97efbe8 fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:20:07 +00:00
Yonik Seeley 5293942927 don't reset counts until after we are done retrying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Robert Muir f640687877 LUCENE-3720: add warning+experimental and disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 18:26:07 +00:00
Mark Robert Miller 3281e5b3a3 show the base url when reporting exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236324 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:52:50 +00:00
Mark Robert Miller 86dd14bab9 ignore test until i can figure out why a request times out on a live jetty instance regularly on jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:46:37 +00:00