Shalin Shekhar Mangar
706f284c46
SOLR-14942: Reduce leader election time on node shutdown ( #2004 )
...
The shutdown process waits for all replicas/cores to be closed before removing the election node of the leader. This can take some time due to index flush or merge activities on the leader cores and delays new leaders from being elected. Moreover, jetty stops accepting new requests on receiving SIGTERM which means that even though a leader technically exists, no new indexing requests can be processed by the node. This commit waits for all in-flight indexing requests to complete, removes election nodes (thus triggering leader election) and then closes all replicas.
Co-authored-by: Cao Manh Dat <datcm@apache.org>
2020-10-24 17:39:00 +05:30
Michael Sokolov
840a353bc7
LUCENE-9582: rename VectorValues.ScoreFunction to SearchStrategy ( #2018 )
...
Co-authored-by: Julie Tibshirani
2020-10-23 17:39:34 -04:00
Noble Paul
052efd62ae
Revert "refactor method names"
...
This reverts commit e826b1f3446cf5ac2e95b205dfec442f6719ec25.
accidental commite reverted
2020-10-22 15:25:31 +11:00
Noble Paul
e826b1f344
refactor method names
2020-10-22 12:35:47 +11:00
Andrzej Bialecki
67ecd8ff9a
SOLR-14749: Improve support for arbitrary container-level plugins. Add ClusterSingleton
...
support for plugins that require only one active instance in the cluster.
2020-10-21 17:22:44 +02:00
Tomoko Uchida
44c1bd42c5
LUCENE-9318: Clean up package name conflicts for backward-codecs ( #2000 )
2020-10-19 21:32:06 +09:00
Andrzej Bialecki
9ab9d208c7
SOLR-14944: Remove the "spins" metrics.
2020-10-19 11:50:08 +02:00
Michael Sokolov
c02f07f2d5
LUCENE-9322: Add Lucene90 codec, including VectorFormat
...
This commit adds support for dense floating point VectorFields.
The new VectorValues class provides access to the indexed vectors.
2020-10-18 07:49:36 -04:00
Robert Muir
85b58c262a
LUCENE-9576: nuke SSD detection, modernize CMS defaults
2020-10-17 10:55:35 -04:00
Munendra S N
0bd2f314b7
SOLR-14930: fix precommit
2020-10-15 18:19:14 +05:30
Andrzej Bialecki
737cf9854a
SOLR-14924: Some ReplicationHandler metrics are reported using incorrect types.
2020-10-15 14:27:51 +02:00
Noble Paul
321b4fa0de
SOLR-14930: Deprecate rulebased replica placement strategy (remove in 9.0) ( #1980 )
2020-10-15 19:53:43 +11:00
Andrzej Bialecki
2a3da99e2d
SOLR-14914: Add option to disable metrics collection.
2020-10-15 10:14:16 +02:00
S N Munendra
b43c389386
Include missing commands in package tool help section ( #1975 )
...
* feat(package/tool): include uninstall command usage in help
* feat(package/tool): include add-key usage in help
* feat(package/tool): display options for package tool
2020-10-14 22:11:54 +05:30
Bar Rotstein
fa3e1ad71f
SOLR-14869: ChildDocTransformer should have omitted deleted child documents.
...
Closes #1970
2020-10-14 08:25:52 -04:00
Noble Paul
2f651b156c
SOLR-14654: remove all references of runtime lib
2020-10-14 11:13:38 +11:00
Houston Putman
bcd9cbec95
SOLR-14907: Support single file upload/overwrite in configSet API ( #1977 )
2020-10-13 16:51:21 -04:00
Cao Manh Dat
9594ab3ac0
SOLR-14776: Precompute the fingerprint during PeerSync ( #1814 )
...
After heavy indexing, the call to compute fingerprint takes awhile and slows the leader election. This commit computes the fingerprint in parallel with fetching the fingerprint from the other replicas.
Co-authored-by: Shalin Shekhar Mangar <shalin@apache.org>
2020-10-13 16:35:33 +05:30
David Smiley
ab83b3b7c3
SOLR-14917: Move DOMUtil and PropertiesUtil to SolrJ ( #1953 )
2020-10-10 08:52:10 -04:00
Noble Paul
8c41418c0f
SOLR-14576 : Do not use SolrCore as keys in a WeakHashMap ( #1586 )
2020-10-08 22:08:48 +11:00
Andrzej Bialecki
43b1a2fdc7
SOLR-14691: Metrics reporting should avoid creating objects.
2020-10-07 17:52:55 +02:00
Cao Manh Dat
2d4a51b23d
SOLR-10370: ReplicationHandler should fetch index at fixed delay instead of fixed rate
2020-10-07 20:22:17 +07:00
noblepaul
2a8136b3fd
SOLR-14151: refactor to avoid code duplicate
2020-10-07 16:04:35 +11:00
Timothy Potter
e879a52291
SOLR-14659: Remove restlet as dependency for the ManagedResource API ( #1938 )
...
Co-authored-by: noblepaul <noble.paul@gmail.com>
2020-10-04 11:21:49 -06:00
noblepaul
4728a710e9
LUCENE-9559: "gradle eclipse" do not work if .java files are not in proper package
2020-10-04 21:44:01 +11:00
Erick Erickson
f6c4f8a755
SOLR-14910: Use in-line tags for logger declarations in Gradle ValidateLogCalls that are non-standard, change //logok to //nowarn
2020-10-03 09:47:37 -04:00
Tomas Fernandez Lobbe
8f2f80bbb3
SOLR-14663: Copy ConfigSet root data from base ConfigSet when using CREATE command
2020-10-01 14:13:40 -07:00
David Smiley
6c3b1aa5ca
SOLR-12987: Fix precommit
2020-10-01 17:02:38 -04:00
David Smiley
9cadbf04b6
SOLR-12987: Deprecated plugins are logged once and with log category org.apache.solr.DEPRECATED ( #1927 )
2020-10-01 08:31:39 -04:00
Bruno Roustant
167c3050df
SOLR-14905: Upgrade commons-io version to 2.8.0.
...
Closes #1934
2020-10-01 10:07:42 +02:00
Munendra S N
274a3d69d2
Revert "SOLR-14767 : Fix NumberFormatException when int/long field value is floating num"
...
This reverts commit 63f0b6b706dcbc8e92a8ff3ee8b81d6d6900aa67.
2020-09-29 23:53:13 +05:30
Chris Hostetter
8c7502dfeb
SOLR-14898: Stop returning duplicate HTTP response headers when requests are forward to another node
2020-09-29 09:19:03 -07:00
Munendra S N
3dcb19f886
SOLR-14897: limit no of forwarding for given request
...
* Irrespective of active or down replicas, restrict no of forwarding of request.
Previously, this restriction was applied only if active is not found
2020-09-29 19:48:12 +05:30
Apoorv Bhawsar
63f0b6b706
SOLR-14767 : Fix NumberFormatException when int/long field value is floating num ( #1775 )
2020-09-29 19:23:33 +05:30
Guna Sekhar Dora Kovvuru
1dba76c0d3
SOLR-14333: Implement toString in Collapse filter ( #1371 )
2020-09-29 19:19:49 +05:30
noble
a65e9dd311
SOLR-14151: cleanup
2020-09-29 15:37:47 +10:00
noble
01da67c728
SOLR-14901: TestPackages uses binary precompiled classes to refer to analysis factory FQCNs
2020-09-29 15:25:22 +10:00
Andrzej Bialecki
32041c8d9b
SOLR-14850: Fix ExactStatsCache NullPointerException when shards.tolerant=true.
2020-09-28 14:04:48 +02:00
Atri Sharma
4105414c90
SOLR-13528: Implement API Based Config For Rate Limiters ( #1906 )
...
This commit moves Rate Limiter configurations from web.xml to a new command based approach using clusterprops.json
2020-09-28 14:57:06 +05:30
Tomoko Uchida
5e617ccc33
LUCENE-9317: Clean up split package in analyzers-common ( #1836 )
2020-09-28 16:49:28 +09:00
Munendra S N
ddd10725b0
SOLR-14503: use specified waitForZk val as conn timeout for zk
...
* Also, consume SOLR_WAIT_FOR_ZK in bin/solr.cmd
2020-09-24 22:28:04 +05:30
S N Munendra
ac58472310
SOLR-14036: Remove explicit distrib=false from /terms handler ( #1900 )
...
* Remove distrib=false from /terms handler so that terms are returned from across all shards instead of a single local shard.
* cleanup shards parameter handling in TermsComponent. This is handled in HttpShardHandler
* Remove redundant tests for shard whitelist
* remove redundant terms params from ScoreNodeStream
2020-09-24 22:12:24 +05:30
noblepaul
cafa449769
SOLR-14613: Avoid multiple ZK write
2020-09-24 17:26:41 +10:00
noblepaul
26bb6415d1
SOLR-14894: ASL header
2020-09-24 12:40:05 +10:00
noblepaul
565c5b1ac4
SOLR-14894: Use annotations to implement V2 collection APIs
2020-09-24 12:37:12 +10:00
noblepaul
1c9c1509fa
SOLR-14890: syncing with 8x
2020-09-24 10:58:40 +10:00
Noble Paul
fd0c08615d
SOLR-14890: Refactor code to use annotations for configset API ( #1911 )
2020-09-23 21:55:51 +10:00
David Smiley
7b53671920
SOLR-14768: Fix multipart POST to Solr. ( #1838 )
...
Regression from 8.6
Multipart POST would fail due to a NoClassDefFoundError of Jetty MultiPart. Solr cannot access many Jetty classes, which is not noticeable in our tests.
2020-09-22 17:42:18 -04:00
David Smiley
2197776be6
SOLR-13181: param macro expansion could throw ( #1877 )
...
...StringIndexOutOfBoundsException on bad syntax
* failOnMissingParams: should have been returning null (failing) on bad syntax cases
Co-authored-by: Christine Poerschke <cpoerschke@apache.org>
2020-09-22 15:46:59 -04:00
Tomas Fernandez Lobbe
7b7a5a16ce
SOLR-10391: Add overwrite option to UPLOAD ConfigSet action ( #1861 )
...
When set to true, Solr will overwrite an existing configset in ZooKeeper in an UPLOAD.
A new cleanup parameter can also be passed to let Solr know what to do with the files that existed in the old configset, but no longer exist in the new configset (remove or keep)
2020-09-22 10:36:59 -07:00