31286 Commits

Author SHA1 Message Date
Jason Gerlowski
655e9ecf7c Fix active replica count reporting in SimClusterStateProvider
One codepath assumed all replicas were active, instead of checking the
state of each individually.
2018-12-14 12:21:47 -05:00
Jason Gerlowski
dd910d1a06 Indicate collection in clusterShape log messages
Many of Solr's tests use CloudTestUtils' `waitForState` and
`clusterShape` methods to wait until a SolrCloud cluster matches a
particular expected shape.  The code periodically checks on the cluster
state, and logs a message if a collection doesn't match the state we
expect of it.  Prior to this commit, these log messages omitted the
collection name though, which makes things a little confusing when a
test is checking on the state of multiple collections simultaneously (as
can happen when Triggers fire in the background).
2018-12-14 12:21:19 -05:00
Erick Erickson
3ca7e65388 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-12-14 07:43:06 -08:00
Erick Erickson
15b36299c4 SOLR-12727: Fix tests to work with 'interesting' entries in the hosts file like 'fe80::1%lo0 localhost' 2018-12-14 07:42:57 -08:00
Jan Høydahl
bfd28a8b3a SOLR-10975: New Admin UI Query does not URL-encode the query produced in the URL box 2018-12-14 15:30:39 +01:00
Jan Høydahl
f8fcdbb208 Revert "SOLR-11296: Spellcheck parameters not working in new UI" due to wrong commit message
This reverts commit bb2405a
2018-12-14 15:29:27 +01:00
Jan Høydahl
bb2405aec8 SOLR-11296: Spellcheck parameters not working in new UI
(cherry picked from commit 62edbf2e7da7af6d96d6c912379ee63c80459a70)
2018-12-14 15:27:18 +01:00
Jan Høydahl
62edbf2e7d SOLR-11296: Spellcheck parameters not working in new UI 2018-12-14 15:07:28 +01:00
Jan Høydahl
04e05782a3 SOLR-7896: Followup fix to non-working core dropdown 2018-12-14 14:40:02 +01:00
Chris Hostetter
774e9aefbc Merge remote-tracking branch 'refs/remotes/origin/master' 2018-12-13 20:58:12 -07:00
Nicholas Knize
d3ee925bdd Add 7.6.0 back compat test indexes 2018-12-13 21:50:53 -06:00
Chris Hostetter
df07fb33bb SOLR-13043: cleanup suspicious ExecutorService lifecycles in MiniSolrCloudCluster 2018-12-13 19:59:35 -07:00
Chris Hostetter
f844461357 SOLR-13072: disable flawed test of flawed functionality 2018-12-13 15:32:09 -07:00
Chris Hostetter
46516b7077 SOLR-13068: Update many cloud/autoscaling tests to use TimeSource.NANO_TIME (instead of CURRENT_TIME) for comparisons
as much as possible, the tests actual use the time source directly from the cluster, so that even if the cluster is changed to use an alternate time source, the tests will be consistent
2018-12-13 11:02:24 -07:00
Simon Willnauer
4272c631ca LUCENE-8608: Extract utility class to iterate over terms docs
Today we re-implement the same algorithm in various places
when we want to consume all docs for a set/list of terms. This
caused serious slowdowns for instance in the case of applying
updates fixed in LUCENE-8602. This change extracts the common
usage and shares the interation code including logic to reuse
Terms and PostingsEnum instances as much as possble and adds
tests for it.
2018-12-13 15:30:34 +01:00
Jason Gerlowski
d7ad2f46c3 SOLR-13037: Harden TestSimGenericDistributedQueue 2018-12-13 06:27:34 -05:00
Jan Høydahl
81dbad54e0 SOLR-12799: Allow Authentication Plugins to intercept internode requests on a per-request basis
Add 'forwardCredentials' parameter to BasicAuth which will then skip using PKI on sub requests
2018-12-13 10:51:56 +01:00
Alan Woodward
fa025e1f78 LUCENE-8607: MatchAllDocsQuery can skip counting hits 2018-12-13 09:01:49 +00:00
markrmiller
42f13731b3 SOLR-12801: Harden SimSolrCloudTests. 2018-12-12 18:50:23 -06:00
markrmiller
44b51cd041 SOLR-13067: Harden BasicAuthIntegrationTest. 2018-12-12 18:50:23 -06:00
markrmiller
7de72c9bc7 SOLR-13066: A failure while reloading a SolrCore can result in the SolrCore not being closed. 2018-12-12 18:49:06 -06:00
Jan Høydahl
9728dbc167 SOLR-12791, SOLR-13067: Fix test failure for BasicAuthIntegrationTest
Make PkiAuthenticationIntegrationTest beast-able
2018-12-13 00:14:37 +01:00
Joel Bernstein
1e68726831 SOLR-12801: Suppress SSL and older codecs 2018-12-12 15:38:40 -05:00
Joel Bernstein
7e4555a2fd SOLR-13057: Allow search, facet and timeseries Streaming Expressions to accept a comma delimited list of collections 2018-12-12 09:16:08 -05:00
iverase
ce9a8012c0 LUCENE-8605: Separate bounding box spatial logic from query logic on LatLonShapeBoundingBoxQuery 2018-12-12 13:46:35 +01:00
Adrien Grand
55993ecb9b Fix test failure when floorSegmentMB > maxMergedSegmentMB. 2018-12-12 13:21:06 +01:00
Adrien Grand
21dc237248 Revert "test"
This reverts commit 783f01bab3e096f4f843b9de62af25d6fbe07340.
2018-12-12 13:20:37 +01:00
Adrien Grand
adf73ff6bd test 2018-12-12 13:20:37 +01:00
Jan Høydahl
ef2f0cd88c SOLR-12791: Add Metrics reporting for AuthenticationPlugin 2018-12-12 11:33:32 +01:00
Jan Høydahl
280f67927e SOLR-7896: Add a login page to Admin UI, with initial support for Basic Auth 2018-12-12 10:37:23 +01:00
Jan Høydahl
5affe7421f SOLR-13025: SchemaSimilarityFactory fallback to LegacyBM25Similarity for luceneMatchVersion < 8.0 2018-12-12 10:33:50 +01:00
markrmiller
bcdc6dadbb SOLR-13040: Fix TestSQLHandler, remove delete core calls. 2018-12-12 02:06:26 -06:00
Steve Rowe
ec1bd0da2f SOLR-13060: set suite timeout on non-terminating HDFS Nightly tests to one hour 2018-12-11 18:49:06 -08:00
Gus Heck
a7859ff62a SOLR-13058 Fix synchronized block 2018-12-11 18:45:42 -05:00
Simon Willnauer
61e448666d LUCENE-8599: Add hasNoValue bitset to ramBytesUsed calculation 2018-12-11 22:36:12 +01:00
Chris Hostetter
ade7546ad2 Merge remote-tracking branch 'refs/remotes/origin/master' 2018-12-11 13:21:52 -07:00
Chris Hostetter
de65b45fca change NodeLostTrigger's initial run() log from INFO to DEBUG 2018-12-11 13:18:32 -07:00
markrmiller
c852418148 SOLR-12801: Harden TestSimLargeCluster. 2018-12-11 14:17:10 -06:00
Karl Wright
6587f640d2 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-12-11 13:48:44 -05:00
Karl Wright
2edf5adedc LUCENE-8587: Fix the equals method of GeoComplexPolygon 2018-12-11 13:48:34 -05:00
Simon Willnauer
d08e2d49d3 LUCENE-8602: Share TermsEnum if possible while applying DV updates
Today we pull a new terms enum when we apply DV updates even though the
field stays the same which is the common case. Benchmarking this on a
larger term dictionary with a significant number of updates shows a
2x improvement in performance.
2018-12-11 19:14:16 +01:00
Chris Hostetter
3147c131e0 SOLR-13054: rewrite TriggerSetPropertiesIntegrationTest
test no longer depends on changing static non-final non-volatile variables used by multiple threads

test also no longer depends on arbitrary sleep calls, instead threads await/poll on concurrent signaling objects/queues
2018-12-11 10:39:00 -07:00
markrmiller
274a6eba90 SOLR-12801: Try to harden CdcrBootstrapTest. 2018-12-11 08:58:42 -06:00
markrmiller
19d968dc3d SOLR-12801: Harden OverseerTaskQueueTest and DistributedQueueTest. 2018-12-11 08:58:42 -06:00
markrmiller
b9278d7c99 SOLR-12923: Harden TestSimTriggerIntegration. 2018-12-11 08:58:42 -06:00
markrmiller
eb1735ece9 SOLR-12923: Harden TestSimLargeCluster. 2018-12-11 08:58:42 -06:00
markrmiller
a25ddcd4f3 SOLR-12801: Harden InfixSuggestersTest#testShutdownDuringBuild. 2018-12-11 08:58:42 -06:00
Karl Wright
874937aba8 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-12-11 09:30:17 -05:00
Karl Wright
da62c73282 LUCENE-8587: Change GeoPoint serialization to make serialization/unserialization non-lossy 2018-12-11 09:30:01 -05:00
Toke Eskildsen
8a20705b82 Revert "LUCENE-8374 part 1/4: Reduce reads for sparse DocValues".
LUCENE-8374 was committed without consensus and is expected to be superseded by LUCENE-8585.

This reverts commit 58a7a8ada5cebeb261060c56cd6d0a9446478bf6.
2018-12-11 14:17:57 +01:00