Commit Graph

34033 Commits

Author SHA1 Message Date
Houston Putman 0f06eff4b7 Additions to releaseWizard (#1763)
- Backporting the DOA changes
- Adding link to Solr Upgrade Notes in release notes
- Adding step for obtaining jira permissions.
2020-08-24 09:53:03 -04:00
Christine Poerschke 4761dbabd9
SOLR-14700: avoid NPEs in TupleStream.getShards() when streamContext is null. (#1754) 2020-08-24 13:00:38 +01:00
Christine Poerschke f924225282
Append MultiCollectorTest to TestMultiCollector. (#1745) 2020-08-24 12:27:56 +01:00
Simon Willnauer 8480329213
LUCENE-9473: Ensure merges are stopped during abort merges (#1772)
We need to disable merges while we wait for running merges since
IW calls timed wait on it's lock that releases the monitor for the time
being which allows new merges to be registered unless we disable them.
2020-08-24 09:15:42 +02:00
David Smiley e1392c7440
LUCENE-9373: FunctionMatchQuery: add "matchCost" param 2020-08-24 00:07:55 -04:00
Cao Manh Dat a4a0d9e8ce SOLR-14684: Skipping check time exceeded for the first request in a proper way 2020-08-24 10:11:13 +07:00
Uwe Schindler 42d07d878e LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility (use boolean as default) - type fix 2020-08-24 01:01:38 +02:00
Uwe Schindler 863d544378 LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility 2020-08-24 00:52:51 +02:00
Uwe Schindler 5c2e96b585 LUCENE-9474: Property "tests.badapples" is missing in Gradle, which is needed for Hoss's statistics. Also Jenkins does not run BadApple tests by default 2020-08-23 23:37:54 +02:00
Uwe Schindler 79f3a1783f LUCENE-9474: Easier Jenkins automation, by allowing to pass test JVM args as environment variable (this goes inline with RUNTIME_JAVA_HOME) 2020-08-23 22:10:32 +02:00
Uwe Schindler 59736814b6 LUCENE-9474: Remove bad warning (we sometimes have non-existing directories in classpaths during compile). This warnings is not source-code related so shouldn't be enforced (Java 14) 2020-08-23 21:31:44 +02:00
Uwe Schindler 494a8a8e04 LUCENE-9474: Make external tools configurable like in ant through those sysprops: perl.exe, python3.exe, python2.exe 2020-08-23 20:16:22 +02:00
Uwe Schindler ee6cf4c418 LUCENE-9474: Make the version number configurable from outside. This mainly allows Jenkins to set a different suffix than "SNAPSHOT" 2020-08-23 19:26:40 +02:00
Uwe Schindler f37f0bf3a7 Gradle hotfix in preparation for Jenkins: Fix for whitespace in directory violations 2020-08-23 17:51:11 +02:00
noblepaul 1c8f4c988a SOLR-14750: use core id to avoid duplicate core reloads 2020-08-22 17:53:55 +10:00
Erick Erickson c9c75810c2 Revert "LUCENE-9433: Remove Ant support from trunk"
This reverts commit 37cd17dc
2020-08-21 16:57:58 -04:00
Mike Drob 77ca552cc6 move changes entry to 8.7 2020-08-21 15:23:56 -05:00
Dawid Weiss b1e2d0c890
LUCENE-9438: Eclipse IDE support with gradle build system (#1761) 2020-08-21 21:47:11 +02:00
Anderson Dorow 66b6ce2cd0
SOLR-13438: on collection delete, also delete .AUTOCREATED config set (#1759)
Co-authored-by: Anderson Dorow <Anderson.Dorow@zooplus.com>
2020-08-21 14:43:16 -05:00
Erick Erickson 37cd17dcf5 LUCENE-9433: Remove Ant support from trunk 2020-08-21 15:19:52 -04:00
Cao Manh Dat 2b2b9e71d3
SOLR-14684: CloudExitableDirectoryReaderTest failing about 25% of the time (#1724) 2020-08-21 15:41:04 +07:00
Tomoko Uchida bbd21aa422 LUCENE-9448: Move README.txt to README.md; We no lonnger have txt format README on the master. 2020-08-21 10:20:37 +09:00
Dawid Weiss 581e836569
LUCENE-9471: clean up task and global temporary junk files (workaround). (#1767) 2020-08-20 13:49:24 +02:00
Atri Sharma 2f37f40171
SOLR-14615: Implement CPU Utilization Based Circuit Breaker (#1737)
This commit introduces CPU based circuit breaker. This circuit breaker
tracks the average CPU load per minute and triggers if the value exceeds
a configurable value.

This commit also adds a specific control flag for Memory Circuit Breaker
to allow enabling/disabling the same.
2020-08-20 13:21:26 +05:30
Simon Willnauer fa878eb5b8 Fix test to actually use the resource from the try/finally block 2020-08-20 08:46:29 +02:00
Simon Willnauer 5fcb859ece
Ensure we only rollback IW once (#1764)
Ensure we only rollback IW once

Today we might rollback IW more than once if we hit an exception during
the rollback code when we shutdown. This change moves the rollback code outside
the try block to ensure we always roll back but never roll back twice.
2020-08-20 08:40:25 +02:00
Noble Paul 8caf57d50b
SOLR-14750: TestBulkSchemaConcurrent fails often(#1760) 2020-08-19 10:52:12 +10:00
Christine Poerschke 16ab243759 Fix Zo[o]keeper typo in 'solr zk' usage description. 2020-08-18 16:41:35 +01:00
Ishan Chattopadhyaya 77a4d495cc SOLR-14731: Rename @SolrSingleThreaded to @SolrThreadUnsafe, mark DistribPackageStore with the annotation
Co-authored-by: Marcus <marcuseagan@gmail.com>
2020-08-18 16:21:38 +05:30
Atri Sharma 4fed9ff8d3 Move TestRequestRateLimiter to Nightly 2020-08-18 13:43:49 +05:30
Dawid Weiss 83ed210fd0
LUCENE-9465: 'beast' task from within gradle (#1757) 2020-08-18 09:28:50 +02:00
Simon Willnauer 70c72ff4b9 LUCENE-9467: Fix NRTCachingDirectory to use Directory#fileLength
to check if a file already exists instead of opening an IndexInput
on the file which might throw a AccessDeniedException in some Directory implementations.
2020-08-17 18:32:47 +02:00
Andrzej Bialecki d9fb14dec1 SOLR-13858: Remove no longer used field and getter. 2020-08-17 14:47:38 +02:00
David Smiley 0ce2d610c2
SOLR-14722: timeAllowed should track from req creation (#1726)
* set(long) instead of set(Long).
* Fix javadocs CommonParams.TIME_ALLOWED
2020-08-15 00:41:07 -04:00
Jason Gerlowski 9de454d414 SOLR-14680: Add missing package-info to fix precommit 2020-08-15 09:53:26 +10:00
Houston Putman 6fced2e1e1 Add back-compat indices for 8.6.1 2020-08-14 16:58:43 -04:00
Houston Putman c7b70267b8 Sync CHANGES for 8.6.1 2020-08-14 16:44:56 -04:00
Houston Putman 58a6f956d0 Add bugfix version 8.6.1 2020-08-14 16:35:46 -04:00
David Smiley e6a11f8c3a
SOLR prometheus: simplify concurrent collection (#1723)
No semantic difference in behavior.
2020-08-14 15:59:40 -04:00
Houston Putman ec1c5cfffe DOAP changes for release 8.6.1 2020-08-14 14:44:00 -04:00
Yuriy Koval 44c4e6ef31
SOLR-14703 Edismax parser replaces whitespace characters with spaces (#1713) 2020-08-14 14:12:53 -04:00
Simon Willnauer 4267734e80
Ensure DWPTPool never release any new DWPT after it's closed (#1751)
The DWPTPool should not release new DPWTs after it's closed. Yet, if the pool
is in a state where it's preventing new writers from being created in order to swap
the delete queue it might get closed and in that case we miss to throw an AlreadyClosedException
and release a new writer which violates the condition that the pool is empty after it's closed
and all remaining DWPTs have been aborted.
2020-08-14 16:04:58 +02:00
Dawid Weiss 150a8dacb5
LUCENE-9463: Query match region retrieval component, passage scoring and formatting (#1750)
Reviewed as part of previous issue by @romseygeek
2020-08-14 14:21:12 +02:00
Simon Willnauer a003f64649 Fix TestForTooMuchCloning to ensure it's MP is not reconfigured randomly 2020-08-14 12:14:31 +02:00
Dawid Weiss 6244383e0d
LUCENE-9462: Fields without positions should still return MatchIterator. (#1749) 2020-08-14 11:45:32 +02:00
Jason Gerlowski 216aec03a6
SOLR-14677: Always close DIH EntityProcessor/DataSource (#1741)
Prior to this commit, the wrapup logic at the end of
DocBuilder.execute() closed out a series of DIH objects, but did so
in a way that an exception closing any of them resulted in the remainder
staying open.  This is especially problematic since Writer.close()
throws exceptions that DIH uses to determine the success/failure of the
run.

In practice this caused network errors sending DIH data to other Solr
nodes to result in leaked JDBC connections.

This commit changes DocBuilder's termination logic to handle exceptions
more gracefully, ensuring that errors closing a DIHWriter (for example)
don't prevent the closure of entity-processor and DataSource objects.
2020-08-13 21:21:31 -04:00
Jan Høydahl bed3b8fbfb
SOLR-14751: Zookeeper Admin screen not working for old ZK versions 2020-08-14 01:32:28 +02:00
S N Munendra d2cc022fcf
Fix syntax warning in smokeTestRelease.py (#1746)
while verifying the 8.6.1 release with latest python(3.8.5), observed
one SyntaxWarning.
https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/
2020-08-13 21:15:28 +05:30
noblepaul 0b55c94ad6 SOLR-14680: make jdk 8 compatible 2020-08-13 13:53:05 +10:00
Noble Paul d517361bb1
SOLR-14680: Provide an implementation for the new SolrCluster API (#1730) 2020-08-13 13:34:24 +10:00