Shalin Shekhar Mangar
02eb9d3440
SOLR-13234: Prometheus Metric Exporter not threadsafe.
...
This changes the prometheus exporter to collect metrics from Solr on a fixed interval controlled by this tool and prevents concurrent collections. This change also improves performance slightly by using the cluster state instead of sending multiple HTTP requests to each node to lookup all the cores.
This closes #571 .
(cherry picked from commit 1f9c767aac76ac1618ccaffce42524e109335fe8)
2019-03-04 11:04:33 +05:30
Noble Paul
b14748e61f
SOLR-13285: Updates with enum fields and javabin cause ClassCastException
2019-03-04 10:26:09 +11:00
Chris Hostetter
677a97edc7
SOLR-12923: increase all await() times in TestSimTriggerIntegration
...
This means that 'real' failures (which should be rare and hopefully reproducile) will be 'slow', but the trade off will be less hard to reproduce 'false failures' due to thread contention on slow or heavily loaded (ie: jenkins) machines
(cherry picked from commit fed80599a6f3c237ac61782a42196f6355b8cda6)
2019-03-01 11:38:31 -07:00
Alan Woodward
5ca00c0b64
LUCENE-8714: Don't use NoMergePolicy in norms tests
...
This can cause spurious failures when run in conjunction with HandleLimitFS,
as we can end up with lots of very small segments which trips the file handles
limit
2019-03-01 15:08:18 +00:00
Alan Woodward
8381b7368d
LUCENE-8715: Lucene70NormsFormat tests should test Lucene70NormsFormat
2019-03-01 15:08:18 +00:00
iverase
beda852fc2
LUCENE-8709: Set pointWriter to null when size of the HeapPointWriter is 0
2019-03-01 10:45:39 +01:00
iverase
748d483e67
UCENE-8703: Build point writers in the BKD tree only when they are needed
2019-03-01 07:42:06 +01:00
Noble Paul
3fcf7fa54e
SOLR-13282: JDBCStreamTest should use assertEquals(double, double, delta) instead of '==' to compare 2 double values
2019-03-01 10:14:11 +11:00
Chris Hostetter
62d7385a0e
fix AfterClass in OverseerTest to not fail with NPE if assumeWorkingMockito() call short circuited the BeforeClass
...
(cherry picked from commit 5e28e94a930348c1ec8523cacdd57bb0842accf3)
2019-02-28 15:17:31 -07:00
Joel Bernstein
d4158f0106
SOLR-10436: Update CHANGES.txt
2019-02-28 09:33:16 -05:00
Joel Bernstein
b516d67c93
SOLR-10436: Add hashRollup Streaming Expression
2019-02-28 09:22:21 -05:00
iverase
881c9c66e2
LUCENE-8709: Handle case of creating a HeapPointWriter with size equal 0
2019-02-28 10:42:46 +01:00
Kevin Risden
ba70919dd6
SOLR-7321: Remove reflection in FSHDFSUtils.java (Mike Drob, Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-27 14:07:49 -05:00
Cao Manh Dat
feff459a1b
SOLR-12297: Remove debugging System.out line
2019-02-27 09:54:35 +00:00
Karl Wright
d82118323b
LUCENE-8696: Rework how endpoint circles are represented to allow for consistency on WGS84.
2019-02-27 02:30:22 -05:00
Mike McCandless
7773afe9b1
fix typo in javadocs
2019-02-26 18:05:22 -05:00
Mikhail Khludnev
34757670d9
SOLR-13227: don't throw exceptions for counting facet.range.other.
2019-02-26 23:43:31 +03:00
Kevin Risden
71d8aefc0c
SOLR-9762: Remove the workaround implemented for HADOOP-13346 (Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-26 14:53:15 -05:00
Kevin Risden
2234e9ba67
SOLR-13074: MoveReplicaHDFSTest leaks threads, falls into an endless loop, logging like crazy (Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-26 14:49:52 -05:00
Karl Wright
c9f22a31a5
LUCENE-8696: Refactor, in preparation for creating a new SegmentEndpoint implementation to fix the problem.
2019-02-26 08:49:15 -05:00
Kevin Risden
129de3f5e9
SOLR-13060: Improve HdfsAutoAddReplicasIntegrationTest and HdfsCollectionsAPIDistributedZkTest
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-25 11:29:38 -05:00
Karl Wright
e7e5798792
LUCENE-8696: Fix precommit objections
2019-02-25 09:48:04 -05:00
Karl Wright
70732a82ec
LUCENE-8696: Update test to be what's actually failing
2019-02-25 04:07:44 -05:00
Alan Woodward
31a4225be8
LUCENE-8702: Simplify some Intervals factory methods
2019-02-25 08:58:56 +00:00
Karl Wright
e7a4a9ca04
OSQ-8696: Come up with a simple test case that exercises the random failure
2019-02-25 03:38:33 -05:00
Kevin Risden
e0231fddba
SOLR-9763: Remove the workaround implemented for HADOOP-12767 (Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-24 14:24:21 -05:00
erick
a108b4f730
SOLR-13268: Clean up any test failures resulting from SOLR-12055 (async logging). Kevin's upgrades
...
(cherry picked from commit fe5a96a)
2019-02-24 10:05:57 -08:00
Mikhail Khludnev
d68e992d03
SOLR-11883: reporting syntax errors as Bad Request instead of 500.
2019-02-24 16:39:40 +03:00
erick
4aa0645ea6
SOLR-12055: SOLR-12753: Missed mentioning SOLR-12753 in 8.1 CHANGES.txt
2019-02-22 13:14:21 -08:00
erick
4530c8041f
SOLR-12055: Enable async logging by default SOLR-12753: Async logging ring buffer and OOM error
2019-02-22 12:49:31 -08:00
erick
07cc2d98ef
SOLR-12055: Enable async logging by default SOLR-12753: Async logging ring buffer and OOM error
...
(cherry picked from commit 0de3905)
2019-02-22 12:47:29 -08:00
Erick Erickson
cf1e3c4603
SOLR-13261: Make SortableTextField work with export/streaming
...
(cherry picked from commit 6b4e90617ddb5a9897070bc60e2c6e78d8488f12)
2019-02-22 11:06:04 -08:00
iverase
1dfc766afa
LUCENE-8699: Add lucene internal tag to PointValue interface
...
and fix some typos
2019-02-22 11:05:27 +01:00
Tomas Fernandez Lobbe
7e7047a225
Fix TestTlogReplica
...
At some point got broken and nobody noticed since it's not running
2019-02-21 21:39:44 -08:00
Jason Gerlowski
97d8fac87b
Minor cleanup to ExportWriter
2019-02-21 16:06:20 -05:00
iverase
069622f61a
LUCENE-8704: Use the HeapPointWriter to spill offline as BKDWriter does
2019-02-21 12:27:29 +01:00
jimczi
045dd2e26e
LUCENE-8686: Fix test bug in TestTaxonomyFacetSumValueSource#testRandom
2019-02-21 16:37:35 +09:00
Tomas Fernandez Lobbe
4c0ecedf2b
Fix TestPullReplica.testKillLeader
...
Somewhere along the way, this was broken and since the test is being excluded, nobody noticed
2019-02-20 21:16:39 -08:00
Tomas Fernandez Lobbe
128da043df
SOLR-12708: CREATE collection request doesn't fail or cleanup when the request fails ( #568 )
...
When performing an async CREATE requests, responses to internal requests are also included inside the "success" or "failed" elements of the general response. This will make the operation cleanup in case of failure, the same way as we do when the request is synchronous.
2019-02-20 14:06:10 -08:00
Christine Poerschke
1c55df083c
Fix typo in 'Index Size Trigger' example JSON.
2019-02-20 20:24:29 +00:00
Kevin Risden
5d71e90b17
SOLR-13222: Improve logging in StreamingSolrClients (Peter Cseh via Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-20 11:10:01 -05:00
Noble Paul
e636c47bf6
SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7
2019-02-20 22:21:39 +11:00
Noble Paul
7a33ba3323
SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7
2019-02-20 22:20:35 +11:00
iverase
66d4840860
LUCENE-8699: Change HeapPointWriter to use a single byte array instead to a list
...
of byte arrays. In addition a new interface PointValue is added to abstract out
the different formats between offline and on-heap writers.
2019-02-20 12:15:57 +01:00
Kevin Risden
cdabcb88d3
SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden)
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-19 17:29:06 -05:00
Mike McCandless
10d5e935e2
LUCENE-8635: add option to move FSTs off-heap, and do so for the FST terms index in the default codec for non-primary-key fields if MMapDirectory is being used
2019-02-19 12:54:01 -05:00
iverase
6dff94e2a2
LUCENE-8685: Refactor LatLonShape tests
2019-02-19 17:02:38 +01:00
Alan Woodward
472dee19de
LUCENE-8697: GraphTokenStreamFiniteStrings correctly handles side paths with gaps
2019-02-19 14:59:07 +00:00
shalinmangar
d697b4a6ad
SOLR-13248: Adding upgrade notes which explain the problem and the mitigation as well as steps to revert to the old behavior
...
(cherry picked from commit 97875af3f93477f48e4ead1979b2f36797106e06)
2019-02-18 14:26:28 -08:00
shalinmangar
7ede4e2b43
SOLR-13248: Autoscaling based replica placement is broken out of the box.
...
Solr 7.5 enabled autoscaling based replica placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons, this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until Solr 7.4.
(cherry picked from commit 7e2d40197cb096fe0519652c2ebbbf38a70d0d65)
2019-02-18 14:26:20 -08:00