Varun Thacker
5eab1c3c68
SOLR-12683: HashQuery will throw an exception if more than 4 partitionKeys is specified. Earlier after the 4th partitionKey the keys would be silently ignored.
2018-08-20 15:21:19 -07:00
Erick Erickson
66d500b5a5
SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer
2018-08-20 10:37:32 -07:00
Shalin Shekhar Mangar
1c0f95ee04
SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more resilient to spurious failures
2018-08-20 14:49:13 +05:30
Shalin Shekhar Mangar
079a81f14f
SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods.
...
Extracted a new method to ensure a given number of jettys are always running in the test setup. Also, delete all collections created by other test methods.
2018-08-20 14:45:50 +05:30
Shalin Shekhar Mangar
20d0f67edd
SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent
2018-08-20 13:25:56 +05:30
Shalin Shekhar Mangar
ee498f5a38
SOLR-12679: MiniSolrCloudCluster.stopJettySolrRunner should remove jetty from the internal list
...
While the startJettySolrRunner adds the given jetty instance to the internal list of jetty instances, the stopJettySolrRunner method does not remove the given instance from the list. This leads to inconsistencies such as stopped jettys retained in the internal list and duplicate (stopped) jettys. This commit also fixes TestCollectionsAPIViaSolrCloudCluster to deal with this change.
2018-08-20 13:17:05 +05:30
Varun Thacker
3e4545219e
SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker
2018-08-19 11:59:38 -07:00
Erick Erickson
9f615fbae7
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-08-17 14:40:16 -07:00
Noble Paul
124be4e202
SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies
2018-08-18 00:37:50 +10:00
Shalin Shekhar Mangar
6e21cb3aa9
SOLR-11990: Create Collection API now waits for the updated state of the withCollection to be visible after setting the COLOCATED_WITH value
...
Sometimes deletion of the withCollection succeeds even though the linked collection exists, if the delete request is sent immediately after the creation of the linked collection. This is because of a race between the delete request and the zookeeper update made by create collection such that the COLOCATED_WITH property is not visible to the overseer collection processor during the delete request. Therefore, we now wait until the property is visible before returning a success to the user. The test also adds more asserts so that a similar race will fail the test immediately with a proper assert message.
2018-08-17 14:26:30 +05:30
Anshum Gupta
4309ae6f9f
SOLR-12475: Fix failing MaxSizeAutoCommitTest
2018-08-16 23:05:21 -07:00
Andrzej Bialecki
585ba164a8
SOLR-12392: Improve reliability of IndexSizeTriggerTest.
2018-08-16 22:05:27 +02:00
Andrzej Bialecki
9572e129f8
SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation.
2018-08-16 21:44:10 +02:00
David Smiley
a661ebc6df
SOLR-12591: Avoid JDK 9 bug with certain timezones like AKDT; test with EDT.
...
Also standardized on single 'z' in the test patterns, which is equivalent to triple.
2018-08-16 15:16:26 -04:00
Shalin Shekhar Mangar
57b33c19a4
SOLR-12607: Minor refactorings
...
Replaced a few private instances with lambdas and extracted common code for retrying splits into a new method
2018-08-16 16:07:05 +05:30
Shalin Shekhar Mangar
94ecb0616a
SOLR-12607: Extract common code from testSplitAfterSplit and testSplitAfterSplit2 methods
...
The testSplitAfterSplit and testSplitAfterSplit2 tests only differ in the kind of fault injection being used. The rest of the test code is exactly the same so the common code is extracted into a new method called splitAfterSplit.
2018-08-16 15:19:56 +05:30
Shalin Shekhar Mangar
887055d892
SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery
2018-08-16 15:00:49 +05:30
Shalin Shekhar Mangar
100b1511dd
SOLR-12607: Increase recovery wait time from 15 seconds to 30 seconds to reduce spurious test failures
2018-08-16 13:10:01 +05:30
Shalin Shekhar Mangar
93a20b72b1
SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. Also removed some unused overridden methods to create solr clients
2018-08-16 08:01:08 +05:30
Noble Paul
a059c944c1
SOLR-12665: Autoscaling policy not being refreshed due to caching
2018-08-16 00:02:27 +10:00
Jan Høydahl
f3339d14c9
SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement
2018-08-15 13:38:05 +02:00
Erick Erickson
4f1c0aab1c
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-08-14 21:25:17 -07:00
Erick Erickson
dcbd5323bb
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-08-14 21:24:59 -07:00
Bar Rotstein
ec01cc981c
SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
...
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Tomas Fernandez Lobbe
bff7a3bbb1
SOLR-12222, SOLR-12028: Remove @BaddApple annotation from TestDistributedSearch
...
This test hasn't failed since the changes in SOLR-12222 were committed
2018-08-14 13:25:05 -07:00
Andrzej Bialecki
8dd704ef78
SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates.
2018-08-14 20:41:42 +02:00
Uwe Schindler
928b92caa0
SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema
2018-08-11 14:07:31 +02:00
Joel Bernstein
71310a4722
SOLR-11585: Solr SQL does not work with point numeric fields
2018-08-09 19:57:50 -04:00
Jason Gerlowski
00aeb64c10
SOLR-12555: Use expectThrows
for expected exceptions
...
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose. This
commit makes these changes in the core package: `o.a.solr.cloud`.
Closes #425
2018-08-09 15:46:50 -04:00
Varun Thacker
e9f3a3ce1d
SOLR-12616: Optimize Export writer upto 4 sort fields to get better performance. This was removed in SOLR-11598 but brought back in the same version
2018-08-08 13:28:00 -07:00
Varun Thacker
7c4584bd4f
SOLR-11008: Use a lighter config for MetricsHandlerTest and ensure the core is up before the test starts
2018-08-08 13:28:00 -07:00
Noble Paul
9b418a4593
SOLR-12618: AutoScalingHandlerTest failing in jenkins
2018-08-09 01:24:03 +10:00
Jan Høydahl
9306922d65
SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble
2018-08-08 12:43:19 +02:00
Moshe
38bf976cd4
SOLR-12485: Solr-Update XML format now accepts child documents under a field
...
thus providing a semantic relationship. (like allowed for JSON).
Improved XML.java a bit
Closes #430
2018-08-07 13:52:11 -04:00
David Smiley
c3887b351e
SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
...
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Andrzej Bialecki
208d59b5e3
SOLR-12541: Metrics handler throws an error if there are transient cores.
2018-08-07 13:21:41 +02:00
Erick Erickson
96e8392921
SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors
2018-08-06 20:04:59 -07:00
Tomas Fernandez Lobbe
896fd0ebd5
SOLR-12222: Improve TestDistributedSearch search
...
Consider the case when the distributed requests fails with timeAllowed before it reaches the shards
2018-08-06 16:58:08 -07:00
Tomas Fernandez Lobbe
db1e0642cb
SOLR-12626: TestInjection.waitForInSyncWithLeader retries in case of errors
...
When waiting for follower replicas to be in sync with the leader, TestInjection.waitForInSyncWithLeader
now keeps waiting even if it gets an exception while trying to get leader's replication details. The
method will only exit when it exhausts the number of retries or succeeds.
2018-08-06 15:59:25 -07:00
Tomas Fernandez Lobbe
c338cf61e7
SOLR-11881: Retry update requests from leaders to followers
2018-08-06 15:56:49 -07:00
Varun Thacker
592899a419
SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and documents with empty value
2018-08-04 14:32:36 -07:00
Jan Høydahl
17a02c1089
SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics
2018-08-03 13:55:11 +02:00
Erick
6afd3d1192
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-08-02 17:40:59 -07:00
Andrzej Bialecki
b5ed6350a0
SOLR-12509: Fix a bug when using round-robin doc assignment.
2018-08-02 21:17:15 +02:00
Andrzej Bialecki
d1173b8adc
SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen.
2018-08-02 18:47:58 +02:00
Andrzej Bialecki
5de10c7966
SOLR-12344: SolrSlf4jReporter doesn't set MDC context.
2018-08-02 14:29:47 +02:00
Noble Paul
868e970816
SOLR-12592: support #EQUAL function in cores in autoscaling policies
2018-08-02 15:20:46 +10:00
Shalin Shekhar Mangar
259bc2baf7
SOLR-12607: Fixed two separate bugs in shard splits which can cause data loss. The first case is when using TLOG replicas only, the updates forwarded from parent shard leader to the sub-shard leader are written only in tlog and not the index. If this happens after the buffered updates have been replayed then the updates can never be executed even though they remain the transaction log. The second case is when synchronously forwarding updates to sub-shard leader fails and the underlying errors are not propagated to the client
2018-08-02 08:24:32 +05:30
Andrzej Bialecki
1133bf98a5
SOLR-12509: Improve SplitShardCmd performance and reliability.
2018-08-01 16:30:59 +02:00
Cao Manh Dat
0dc124aa78
SOLR-12412: Fix precommit
2018-08-01 07:14:41 +07:00