2311 Commits

Author SHA1 Message Date
noble
3b215927e8 SOLR-13637: removed ununsed code 2019-07-21 12:39:03 -07:00
Noble Paul
63d127c14f SOLR-13637 Enable loading of plugins from the corecontainer memclassloader 2019-07-21 12:38:47 -07:00
Munendra S N
37955f789e SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:22:29 +05:30
Noble Paul
e3b0fc7442 SOLR-13565, SOLR-13553 (#774)
* SOLR-13565: initial commit

* SOLR-13565: updated with testcase

* SOLR-13565: removed unused methods

* SOLR-13565: better logging

* SOLR-13565: disable SSL

* SOLR-13565: more tests

* SOLR-13565: syncing with master

* SOLR-13565: fixing tests

* SOLR-13565: fixing tests

* SOLR-13534: Fix test

Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds

* SOLR-13565: set proper permission name

* SOLR-13565: syncing with master

* SOLR-13565: syncing with master

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: more tests

* SOLR-13565: Tests with key signing tests

* SOLR-13565: fixing concurrency issues in tests

* SOLR-13565: add tests with 512 bit RSA

* SOLR-13565: fixing concurrency issues

* SOLR-13565: remove unused code
2019-07-20 14:35:20 +10:00
yonik
cab2db84b2 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:37:43 -04:00
Chris Hostetter
12495ac26c Harden StreamDecoratorTest
remove flakey dependency on sleep (to wait for cache expiration) w/explicit instruction to ignore cache

sleep is not garunteed to sleep the exact amount (based on limitations of the system clock)

(cherry picked from commit 24b94b8dac4a8b4aea80294390d92705d164b546)
2019-07-18 19:40:47 -07:00
Gus Heck
081e2ef2c0 SOLR-13375 2 dimensional routed aliases 2019-07-15 11:11:24 -04:00
Andrzej Bialecki
e616ed49a6 SOLR-13583: Return 400 Bad Request instead of 500 Server Error when a complex
alias is found but a simple alias was expected.
2019-07-05 09:22:00 +02:00
Andrzej Bialecki
30a5b2cd87 SOLR-13583: Impossible to delete a collection with the same name as an existing alias. 2019-07-03 13:36:01 +02:00
Joel Bernstein
36ac878ea7 SOLR-13589: Fix precommit 2019-07-01 21:57:25 -04:00
Joel Bernstein
7e0df16220 SOLR-13589: Add zplot cluster test case 2019-07-01 21:57:09 -04:00
Joel Bernstein
c6cc2fd9fd SOLR-13589: Allow zplot to visualize clusters and convex hulls 2019-07-01 21:56:47 -04:00
Chris Hostetter
01b303c2e5 SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
SOLR-13574: Add CHANGES entry that was overlooked
(cherry picked from commit aaf20aefa4b29971dbbb16c9fe39e6272c7c9dd5)
2019-06-27 15:52:22 -07:00
Chris Hostetter
8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Jan Høydahl
2ef43ce78a SOLR-13569: AdminUI visual indication of prod/test/dev environment
(cherry picked from commit b54126169b2c2f116b5217c3566f5df2ba206a39)
2019-06-26 12:10:39 +02:00
Andrzej Bialecki
da6e6fd559 SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:56 +02:00
Noble Paul
8199ad48b5 reformatting 2019-06-25 17:07:17 +10:00
Mikhail Khludnev
e7fea2899d SOLR-12866: Turn TestHdfsCloudBackupRestore ON. No changes yet. 2019-06-25 08:55:15 +03:00
David Smiley
2d60b69636 SOLR-13545: Fix for Java 8 (no var) 2019-06-21 18:12:21 -04:00
Mikhail Khludnev
fbb64cf16a SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:40:26 +03:00
Gus Heck
45b000e7ae SOLR-13419 - Better infix for TRA collection names 2019-06-20 14:32:14 -04:00
Joel Bernstein
f5a39b5d08 SOLR-10291: Add match Stream Evaluator to support regex matching 2019-06-19 19:46:34 -04:00
Cao Manh Dat
64e3cc1789 SOLR-12988: Skip running tests with SSL on Java 11 to 11.0.2 2019-06-19 10:44:43 +01:00
Joel Bernstein
d82fe011bf SOLR-13560: Fix precommit 2019-06-18 22:35:32 -04:00
Joel Bernstein
ecd702bf4a SOLR-13560: Add isNull and notNull Stream Evaluators 2019-06-18 22:35:17 -04:00
Noble Paul
545b61ca23 SOLR-13329: changed the put:on-each to put: on-each-node 2019-06-19 01:03:32 +10:00
Cao Manh Dat
968830a2be SOLR-12988: Avoid using TLSv1.3 for HttpClient 2019-06-18 13:17:51 +01:00
Chris Hostetter
2f2333a781 SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.

(cherry picked from commit 5a974860fa83408a86ca64b417f3111b037da7eb)
2019-06-17 10:00:05 -07:00
Joel Bernstein
57c22defb7 SOLR-13552: Add recNum Stream Evaluator 2019-06-15 13:55:37 -04:00
Joel Bernstein
28bfe7903e SOLR-13550: Allow zplot to automatically create the x axis 2019-06-14 17:51:18 -04:00
Cao Manh Dat
22fca67bfe SOLR-13541: Upgrade Jetty to 9.4.19.v20190610 2019-06-14 15:45:45 +01:00
Erick Erickson
47e67be775 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing
(cherry picked from commit 81e8b385a4cac5268c2cd920240d0e717f55713a)
2019-06-13 15:42:00 -07:00
Cassandra Targett
8c5dd4a98b SOLR-13235: update doc links in apispec files to new pages 2019-06-12 19:04:21 -05:00
Thomas Wöckinger
e91c5c5b75 SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 09:02:25 +10:00
erick
cd809ef767 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 13:29:23 -07:00
Gus Heck
fbae72c4cc SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 14:36:04 -04:00
Andrzej Bialecki
55ff28d15e Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:14:24 +02:00
Andrzej Bialecki
c932e7ffd5 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:22:17 +02:00
Koen De Groote
8b6a0d0964 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:10:06 +02:00
Tomas Fernandez Lobbe
43a7ec87a2 SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API) 2019-06-05 16:03:32 -07:00
Cao Manh Dat
a39c342793 SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:05:17 +01:00
Cao Manh Dat
518143c2f0 SOLR-13510: Intermittent 401's for internode requests with basicauth enabled 2019-06-04 16:17:29 +01:00
Erick Erickson
d32334b199 SOLR-8346: Fix precommit failure on 8x 2019-06-03 18:33:51 -07:00
Erick Erickson
e890980311 SOLR-8346: Upgrade Zookeeper to version 3.5.5
(cherry picked from commit 7ebeab71f4b56d008835f0040468a07632024950)
2019-06-03 17:59:01 -07:00
markrmiller
96f000334c SOLR-13489: Stop the leader from trying to rejoin the election on session expiration and harden our zk reconnect code path.
# Conflicts:
#	solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
2019-06-03 11:11:12 -05:00
Noble Paul
5c677f8f46 SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node (#694)
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node
2019-06-03 18:41:10 +10:00
Noble Paul
b3caaffd6e SOLR-13504 improve autoscaling syntax by adding a nodeset attribute (#693)
* SOLR-13504:  more checks and tests
2019-06-03 18:40:42 +10:00
Noble Paul
dbbab57398 SOLR-13504: improve autoscaling syntax by adding a nodeset attribute (#691)
SOLR-13504: In autoscaling policies, use an explicit 'nodeset' attribute for filtering nodes instead of using them directly at the toplevel
2019-06-03 18:40:15 +10:00
Gus Heck
f0d1f9cc90 SOLR-13491 - SolrZkClient's watch wrapper no longer allows zookeeper
to hold the same watch object multiple times.

(cherry picked from commit d0c1c36c9162b557a0684c9a3cc4879c7e0cd348)
2019-05-30 09:59:16 -04:00
Chris Hostetter
753dfc43d6 Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
(cherry picked from commit c2b92f3015d44a48abc7cc5f7c972298ea317a07)
2019-05-29 10:27:40 -07:00