Commit Graph

6497 Commits

Author SHA1 Message Date
Chris Hostetter 2da777cdb8 SOLR-11053: remove AutoCommitTest + HardAutoCommitTest now that SoftAutoCommitTest exercises all the same functionality with more robust assertions 2017-10-17 14:17:51 -07:00
Cao Manh Dat 57e976341b SOLR-11478: Solr should remove itself from live_nodes in zk immediately on shutdown 2017-10-17 17:35:00 +07:00
Noble Paul 141b08a40f SOLR-11359: Refactored 2017-10-16 23:57:29 +10:30
Andrzej Bialecki 8dd489edce SOLR-11285: Support simulations at scale in the autoscaling framework,
part 1 (refactoring).
2017-10-14 18:15:40 +02:00
Cao Manh Dat 9543e85460 SOLR-11443: Remove the usage of workqueue for Overseer 2017-10-14 09:33:17 +07:00
Christine Poerschke 926cc4d65b SOLR-11477: Disallow resolving of external entities in Lucene queryparser/xml/CoreParser and SolrCoreParser (defType=xmlparser or {!xmlparser ...}) by default.
(Michael Stepankin, Olga Barinova, Uwe Schindler, Christine Poerschke)
2017-10-13 12:51:19 +01:00
Uwe Schindler 7b313bb597 SOLR-11482: RunExecutableListener was removed for security reasons 2017-10-13 13:48:18 +02:00
Cao Manh Dat 8a7d04a658 SOLR-11447: ZkStateWriter should process commands in atomic 2017-10-13 15:23:44 +07:00
Varun Thacker 6fecf849b6 SOLR-11467: Added extra logging to debug jenkins CDCR failures 2017-10-12 20:45:41 -07:00
Chris Hostetter cd1a635898 SOLR-11469: disable LeaderElectionContextKeyTest since we know it's logically flawed 2017-10-12 13:41:10 -07:00
Noble Paul 4f52d2db10 SOLR-11451: ComputePlanActionTest.testNodeLost() failure 2017-10-13 00:13:42 +10:30
Cao Manh Dat bac4049317 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-10-12 15:08:41 +07:00
Cao Manh Dat df5fefb0db SOLR-11445: Overseer should not hang when process bad message 2017-10-12 15:08:24 +07:00
Chris Hostetter 8c39b37c5a SOLR-11456: Fix HealthCheckHandlerTest's bogus asserts and timing/order related flakiness 2017-10-11 15:30:32 -07:00
Andrzej Bialecki 5e69a465ee SOLR-11407: Add more logging to this test to discover the reason for failures. 2017-10-11 19:26:00 +02:00
Chris Hostetter b21721f152 SOLR-11055: Add 'commitWithin' testing (of both soft/hard commits) to SoftAutoCommitTest 2017-10-10 09:08:25 -07:00
Noble Paul 371f731520 SOLR-11451: added logging to track the failures 2017-10-11 00:42:55 +10:30
Andrzej Bialecki 338a421175 SOLR-11449: MoveReplicaCmd mistakenly called registerCollectionStateWatcher on failure. 2017-10-10 12:43:32 +02:00
Cao Manh Dat 5e1474dca4 SOLR-11452: TestTlogReplica.testOnlyLeaderIndexes() failure 2017-10-10 10:11:59 +07:00
Joel Bernstein aa6ec0ee54 SOLR-11377: Add expMovingAverage (exponential moving average) Stream Evaluator 2017-10-08 21:03:47 -04:00
Joel Bernstein b9c8aa7059 SOLR-11439: Add harmonicFit Stream Evaluator 2017-10-08 21:03:47 -04:00
Erick Erickson e92bde1e7e SOLR-11426: TestLazyCores fails too often, trying to debug 2017-10-07 22:12:03 -07:00
Erick Erickson f0a4b2dafe Revert "SOLR-11426: TestLazyCores fails too often. Adding debugging code MASTER ONLY since I can't get it to fail locally"
This reverts commit 37fb60d
2017-10-06 17:24:37 -07:00
Varun Thacker e30171397e SOLR-11306: Fix inaccurate comments on docValues and StrField in the example schemas 2017-10-06 15:48:58 -07:00
Erick Erickson 37fb60d0f1 SOLR-11426: TestLazyCores fails too often. Adding debugging code MASTER ONLY since I can't get it to fail locally 2017-10-06 09:54:32 -07:00
Andrzej Bialecki e193cd2027 Make the timings in this test more predictable. 2017-10-06 10:06:35 +02:00
Scott Blum 9419366a8e SOLR-11423: Overseer queue needs a hard cap (maximum size) that clients respect 2017-10-05 18:52:43 +00:00
Andrzej Bialecki 77fc1885c7 SOLR-11440: Potential fix for better handling of exceptions thrown during closing. 2017-10-05 10:45:28 +02:00
Noble Paul 6b327fa404 SOLR-11440: Not a fix. Swallowing the exception for the time being. 2017-10-05 16:34:13 +10:30
Joel Bernstein 1782dd9ca9 SOLR-11436: Add polyfit and polyfitDerivative Stream Evaluators 2017-10-04 14:02:13 -04:00
Chris Hostetter b10eb1172a SOLR-11372: addemdum, refactor refinement randomization to be reproducible when re-using the same TermFacet instance 2017-10-04 09:47:28 -07:00
Steve Rowe fe38dcafbe fix precommit errors after merging autoscaling branch into master 2017-10-04 12:17:40 -04:00
Noble Paul 15d17ed833 precommit errors 2017-10-05 02:21:45 +10:30
Noble Paul 301223915d precommit errors 2017-10-04 19:54:44 +10:30
Noble Paul b09c99f516 license header missing 2017-10-04 19:05:23 +10:30
Cao Manh Dat 34c176da29 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-10-04 15:25:32 +07:00
Cao Manh Dat 9905736898 SOLR-11424: When legacyCloud=false, cores should not publish itself as DOWN on startup 2017-10-04 15:25:17 +07:00
Noble Paul 2c873cd8c6 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-04 00:08:14 +10:30
Noble Paul 309ed641ee Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-03 23:57:29 +10:30
Noble Paul 310bcd7cbe Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-03 23:57:15 +10:30
Cao Manh Dat fd2b4f3f86 SOLR-10285: Skip LEADER messages when there are leader only shards 2017-10-03 09:00:02 +07:00
Steve Rowe 39ba1c3da5 SOLR-11406: Solr 7.0 cannot read indexes from 6.x versions 2017-09-29 16:33:07 -04:00
Joel Bernstein 633af79406 SOLR-11415: Add betaDistribution Stream Evaluator 2017-09-29 09:57:45 -04:00
Joel Bernstein 3f94f2ed4c SOLR-11414: Add gammaDistribution Stream Evaluator 2017-09-28 14:08:38 -04:00
Joel Bernstein 790533da12 SOLR-11401: Add zipFDistribution Stream Evaluator 2017-09-27 21:47:43 -04:00
Varun Thacker 26677ab2b0 SOLR-11278: Fix a race condition in the CDCR bootstrap process which could lead to bootstraps cancelling itself 2017-09-27 14:34:45 -07:00
Joel Bernstein 5e840c9a1c SOLR-11400: Fix precommit 2017-09-27 14:17:04 -04:00
Joel Bernstein 6b3447defd SOLR-11400: Add logNormalDistribution Stream Evaluator 2017-09-27 13:53:03 -04:00
Andrzej Bialecki fba51f34d7 SOLR-11407: Add some debugging information when the test fails. 2017-09-27 19:25:15 +02:00
Cao Manh Dat cc9c867083 SOLR-11293: Fix downgrade in performance from precommit 2017-09-27 22:46:55 +07:00
David Smiley 3b0f46b27d SOLR-11399: hl.fragsize was ignored when hl.bs.type=SEPARATOR 2017-09-26 10:32:00 -04:00
Joel Bernstein 0e5c3aa3dc SOLR-11398: Add weibullDistribution Stream Evaluator 2017-09-25 21:41:55 -04:00
Erick Erickson 6391a75a50 SOLR-11297: Message 'Lock held by this virtual machine' during startup. Solr is trying to start some cores twice 2017-09-25 12:12:31 -07:00
Joel Bernstein 5c9af8640e SOLR-11388: Add monteCarlo Stream Evaluator to support Monte Carlo simulations WIP 2017-09-23 13:03:18 -04:00
David Smiley d6fa057150 SOLR-11382: Solr support for Lucene spatial Geo3D. 2017-09-23 11:03:39 -04:00
Shalin Shekhar Mangar d47af823ed SOLR-10496: Enabled debug logging for all overseer messages 2017-09-22 14:09:59 -07:00
Shalin Shekhar Mangar 5982d8734a SOLR-11076: Added more debug logging. Ensure collections are active before we exercise autoscaling. Added workaround for SOLR-9440. 2017-09-22 13:27:24 -07:00
Shalin Shekhar Mangar ac9ee36f05 SOLR-10643: Ensure that the stopped node is removed from live nodes before proceeding 2017-09-22 11:08:49 -07:00
Christine Poerschke fd89532ab3 Tweak log.warn(ing) in SolrMetricManager.loadClusterReporters method (node/cluster reporter). 2017-09-22 15:32:27 +01:00
Christine Poerschke bf86951494 Remove no longer used private member in ExternalFileField.java file. 2017-09-22 12:43:16 +01:00
Christine Poerschke 56b8ad2f08 SOLR-10962: Make ReplicationHandler's commitReserveDuration configurable in SolrCloud mode.
(Ramsey Haddad, Christine Poerschke, hossman)
2017-09-21 18:02:06 +01:00
Christine Poerschke b05d1f23cf Fixed thw/the typo in ClassificationUpdateProcessorParams. 2017-09-21 18:02:06 +01:00
Christine Poerschke 9bc338c266 Suppress resource leak warning in UpdateRequestProcessor.close() method. 2017-09-21 18:02:06 +01:00
Shalin Shekhar Mangar e13c4c34f0 SOLR-11085: Improve resiliency of autoscaling actions against overseer restarts and operation failures 2017-09-20 16:40:27 -07:00
Shalin Shekhar Mangar b4680e5869 SOLR-11076: Set log level to DEBUG for the autoscaling package to make debugging easier 2017-09-20 10:36:43 -07:00
yonik 288a414c75 SOLR-11372: tests: add refine to TestCloudJSONFacetJoinDomain 2017-09-20 06:22:09 -04:00
Noble Paul 6ba04e3c1f SOLR-11368: Abstract out DistibutedQueue as an interface 2017-09-20 15:43:45 +09:30
Joel Bernstein a2cd9c12d5 SOLR-11354: Fix /stream handler 2017-09-19 21:31:32 -04:00
Joel Bernstein 565b6c6e5a SOLR-11354: Add factorial and movingMedian Stream Evaluators 2017-09-19 21:26:33 -04:00
Shalin Shekhar Mangar 1b3cd34660 Merge branch 'master' into feature/autoscaling 2017-09-19 11:57:46 -07:00
Shalin Shekhar Mangar ab994e7b32 SOLR-11085: Removing nocommit 2017-09-19 11:53:15 -07:00
Shalin Shekhar Mangar 2f94136a69 SOLR-11371: Removing nocommits related to instantiating plugins from the blob store 2017-09-19 11:52:17 -07:00
Shalin Shekhar Mangar bb408c35a1 SOLR-10397: Break on interruption and always throw KeeperException on read otherwise trigger thread cannot function 2017-09-19 11:34:53 -07:00
Shalin Shekhar Mangar 61fe5248b0 SOLR-10397: Pass CloudConfig from Overseer to the OverseerTriggerThread. Avoid throwing exceptions on session expiry if thread has been closed already. Abort earlier if thread has been closed. 2017-09-19 11:09:00 -07:00
yonik 7cc9ee6563 SOLR-11363: handle repeated values in points docvalues fields 2017-09-19 13:39:45 -04:00
Varun Thacker 8e12f20113 SOLR-11278: Fix race-condition in CDCR submitting a bootstrap call and checking it's status 2017-09-19 09:30:07 -07:00
Shalin Shekhar Mangar bd08ca0918 SOLR-10397: Create auto add replicas trigger directly in ZK instead of using API 2017-09-18 18:43:42 -07:00
Cao Manh Dat 40f78dd274 SOLR-8344: Decide default when requested fields are both column and row stored. 2017-09-19 06:02:14 +07:00
Shalin Shekhar Mangar cda1d2ee1a Revert "SOLR-11072: Implement trigger for searchRate event type." 2017-09-18 12:21:44 -07:00
Shalin Shekhar Mangar 341a730ad5 Revert "SOLR-11072: Implement trigger for searchRate event type."
This reverts commit 8ef83bf
2017-09-18 09:26:49 -07:00
Shalin Shekhar Mangar bc25e846bc Revert "SOLR-11072: Fix searchRate trigger hookup to ComputePlanAction. Make the trigger more robust by supporting host collections with warm shards. Add unit test."
This reverts commit 6fb2803
2017-09-18 09:25:27 -07:00
Shalin Shekhar Mangar de3107c70f Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-09-18 09:23:41 -07:00
Joel Bernstein 1544839309 SOLR-11350: Add primes Stream Evaluator 2017-09-11 15:00:19 -04:00
Chris Hostetter 31eab319f4 SOLR-11332, SOLR-11132: Fix sorting on 'enum' fieldTypes that use sortMissingFirst or sortMissingLast and Refactor common getSortField logic in various FieldTypes 2017-09-11 10:38:30 -07:00
Christine Poerschke 37b8ac6ff5 SOLR-11343: fix TestSegmentSorting.testSegmentTerminateEarly test failure caused by SOLR-10990 2017-09-11 10:32:15 -07:00
Steve Rowe 0359db97b5 SOLR-11345: TestPointFields.doTestDoublePointFunctionQuery() helper: fix generated # of values (was 10, should be 'numVals') 2017-09-11 12:35:08 -04:00
Steve Rowe 5f68eb9456 SOLR-11345: restrict double field values used for function queries to float range 2017-09-11 10:08:01 -04:00
Joel Bernstein c229dc328f SOLR-11342: Add sumDifference and meanDifference Stream Evaluators 2017-09-08 21:08:29 -04:00
Joel Bernstein e8dee89c87 SOLR-11339: Add Canberra, Chebyshev, Earth Movers and Manhattan Distance Stream Evaluators 2017-09-08 15:44:28 -04:00
Joel Bernstein a6142b3b61 SOLR-11338: Add Kendall's Tau-b rank and Spearmans rank correlation Stream Evaluators 2017-09-08 13:01:16 -04:00
Christine Poerschke 244ebd1aa4 SOLR-10990: Breakup QueryComponent.process method for readability. (Christine Poerschke) 2017-09-08 16:42:46 +01:00
David Smiley 89feb15008 SOLR-11314: FastCharStream: re-use the READ_PAST_EOF exception 2017-09-07 21:12:45 -04:00
Mark Miller ce29124721 SOLR-10783: Revert for now - having run the tests a few times today, one of them may be concerning (reverted from commit b4d280f369) 2017-09-07 16:35:11 -05:00
Mark Miller 9388208613 SOLR-10783: Fix constructor. 2017-09-07 14:46:57 -05:00
Andrzej Bialecki 26ed40bcdb SOLR-11215: Support retrieval of any property of a regular metric when
using 'key' parameter.
2017-09-07 18:21:55 +02:00
Andrzej Bialecki 6fb2803bca SOLR-11072: Fix searchRate trigger hookup to ComputePlanAction. Make
the trigger more robust by supporting host collections with warm shards.
Add unit test.
2017-09-07 17:04:41 +02:00
Steve Rowe 5324c7436c SOLR-11181: fix validate-maven-dependencies 2017-09-07 09:24:02 -04:00
Christine Poerschke a864c6289a SOLR-10783: add (partial) package-info.java to fix precommit 2017-09-07 12:18:03 +01:00
Andrzej Bialecki 8ef83bff12 SOLR-11072: Implement trigger for searchRate event type. 2017-09-07 12:37:57 +02:00
Noble Paul f121de2854 SOLR-11327: MODIFYCOLLECTION should be able to edit policy attribute 2017-09-07 17:50:10 +09:30