Ishan Chattopadhyaya
e435d92084
SOLR-13662, SOLR-13822: Fixing bug with refresh API, un-ignoring the test and new reference guide on Package Management
2019-11-18 04:00:42 +05:30
Ishan Chattopadhyaya
1e0e5d1b08
SOLR-13662: Ignoring the PackageManagerCLITest until further investigation of failures
2019-11-17 06:05:20 +05:30
Chris Hostetter
e6dc96d4d8
TestDistributedStatsComponentCardinality: Remove @BadApple anotation
...
This test was originally anotated @BadApple ~2018-10-14 as pat of SOLR-12028.
So far in 2019, it has failed in 62 jenkins-BadApple builds, but all prior to 2019-06-14.
Since we no longer have logs from those older jenkins builds, it's hard to be certain how/why
this test was failing, or why exactly it *stopped* failing -- but a likely suspect is that
the root cause of the problem may have been fixed as part of the Jetty upgrade in SOLR-13541.
(cherry picked from commit 3fb39b2960ae3b04d8f97a683a8c9daaef3f4696)
2019-11-16 08:08:08 -07:00
Munendra S N
5cce058631
SOLR-13911: add support for missing aggregation in JSON facet module
...
* This missing aggregation is equivalent to StatsComponent's missing
2019-11-16 12:13:16 +05:30
Andrzej Bialecki
4d1fff37fc
SOLR-13898: Allow inexact double comparison. Close resources.
2019-11-15 20:34:46 +01:00
Chris Hostetter
95e791622b
SOLR-13909: ReplicationHandler testing: Replace the completely broken CheckBackupStatus with a new BackupStatusChecker helper class
...
(cherry picked from commit 805305c41046da3385d2146de290e52c556b373c)
2019-11-15 10:17:55 -07:00
Tomas Fernandez Lobbe
3a7ea9756c
SOLR-13860: Ignore testKillTlogReplica
2019-11-14 15:17:06 -08:00
Ishan Chattopadhyaya
f462fe2794
SOLR-13662: Renaming the test jars to .tmp to avoid precommit failures. Adding timeout for test failure fix.
2019-11-15 01:05:25 +02:00
Andrzej Bialecki
6e655a99ce
SOLR-13817: Deprecate legacy SolrCache implementations.
2019-11-14 21:22:18 +01:00
Ishan Chattopadhyaya
6edbda7429
SOLR-13662: Package manager (CLI)
2019-11-14 19:19:58 +05:30
Istvan Farkas
a1777b540b
SOLR-13921: Processing UpdateRequest with delegation token throws NullPointerException
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-11-13 13:03:41 -05:00
Andrzej Bialecki
3c06fbcad2
SOLR-13898: Non-atomic use of SolrCache get / put.
2019-11-13 18:10:12 +01:00
Chris Hostetter
8c12979fdd
SOLR-13872: Fixed Backup failures due to race conditions in saving/reserving commit points
...
(cherry picked from commit 30e55e2b6efc55c04761b80c22a106f4a1115722)
2019-11-13 08:59:22 -07:00
noble
086bad30f0
SOLR-13821: Return the size of the file
2019-11-13 18:55:29 +11:00
noble
e428315387
SOLR-13822: Added a testcase and a bug fix
2019-11-13 17:44:40 +11:00
noble
bb2385025f
SOLR-13841: Added 'JsonProperty' to forbidden APIs
2019-11-13 17:43:53 +11:00
Chris Hostetter
26b7799af6
SOLR-13870: SolrJmxReporterTest no longer depends on (buggy) getNextAvailablePort()
...
(cherry picked from commit 367fe2f341cca18fb3d22e203b8cd8a91dd36948)
2019-11-12 09:42:43 -07:00
Noble Paul
07e1df28df
SOLR-13822: Ref guide and error handling
...
SOLR-13822: Ref guide and error handling for package loader, package store
2019-11-12 16:50:25 +11:00
noble
a09f2df216
SOLR-13822: Missing package-info files
2019-11-08 14:42:49 +11:00
noble
edb5f63869
SOLR-13822: precommit error fixed
2019-11-08 12:56:26 +11:00
Houston Putman
f4eea9b2f5
SOLR-13844: Fixing tests related to ShardTerms recovery removal ( #995 )
2019-11-06 17:25:52 +00:00
Noble Paul
37059eb594
SOLR-13822: Isolated Classloading from packages ( #997 )
...
* SOLR-13821: A Package store to store and load package artifacts
* SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
the configuration, APIs to read/edit them and isolated classloaders to load the classes from
those packages if the 'class' attribute is prefixed with `<package-name>:`
* SOLR-13841: Provide mappings for jackson annotation @JsonProperty to use Jackson deserializer
2019-11-06 19:45:14 +11:00
Andrzej Bialecki
848529128f
SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status.
2019-11-05 14:07:24 +01:00
Jason Gerlowski
a98198cc04
SOLR-13762: Allow BinaryField use with non-binary wt's.
...
Closes #883
2019-11-04 08:44:33 -05:00
Houston Putman
2f8b3ea634
SOLR-13844: Remove replica recovery terms with the replica term ( #951 )
2019-11-04 09:41:40 +00:00
Tomas Fernandez Lobbe
332f1d7741
SOLR-13207: Fix tests
2019-11-01 15:54:43 -07:00
Chris Hennick
543d0b79aa
SOLR-13207: Handle query errors in calculateMinShouldMatch ( #978 )
...
Traps error that arises when the < operator is used at the end of a query field.
Also handles NumberFormatException when the operand isn't a number.
2019-11-01 10:43:34 -07:00
Munendra S N
0e3a66be43
SOLR-13823: fix ClassCastEx in group.query when score is requested
...
* This makes sures score computed for standalone and distributed
is same for group.query. This is done by using mainQuery to compute
scores
2019-10-29 14:07:20 +05:30
Munendra S N
2055983d80
SOLR-13877: fix NPE in expand component
...
* This could happen when expand component is not used with collapse
and matched docs have fewer unique values
2019-10-29 14:07:20 +05:30
Houston Putman
bf26279699
SOLR-13865: Migrate replica routing code to SolrJ ( #974 )
...
* [SOLR-13865] Migrate replica routing code to solrJ
* Added a CommonTestInjection class.
* Fixing imports.
* Reverted extraneous streaming changes.
* Fix precommit errors.
* Changing name of the RLTManager.
* Splitting up existing tests.
* Updated documentation.
* Added solr/CHANGES.txt entry
2019-10-28 15:51:04 -07:00
Tomas Fernandez Lobbe
c82aa3e61b
SOLR-13860: Enable back TestTlogReplica ( #965 )
...
* Wait for leader in testBasicLeaderElection
It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)
* Wait for leader to be active in testKillTlogReplica
* Add hack to prevent unrelated failure
* Reduce the time wait time for replica state change
* A more robust attempt to add replicas in the tests
* Wait for replication for 2 times the replication time
2019-10-24 12:02:26 -07:00
Munendra S N
21e58bc128
SOLR-12393:fix score not returned if expanded docs sorted by non-score
2019-10-24 20:02:32 +05:30
Andrzej Bialecki
b029de191e
SOLR-13677: Add a missing override, which resulted in missing metrics (reported by tflobbe).
2019-10-24 13:02:23 +02:00
Munendra S N
255bdaebbc
SOLR-13403: test terms component with point fields on empty index
2019-10-24 10:23:19 +05:30
David Smiley
9a108996bb
SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
...
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
(cherry picked from commit 3ae820424809baa4e5a85d8bbdb0294cf6fe5b9b)
2019-10-23 17:51:27 -04:00
Andrzej Bialecki
6e6b36cbcd
SOLR-13831: Support defining arbitrary autoscaling simulation scenarios.
2019-10-23 21:14:05 +02:00
Munendra S N
c5d91017d0
SOLR-13403: disable distrib test for point fields in terms
2019-10-22 11:06:38 +05:30
Mikhail Khludnev
0b8b1438e9
SOLR-13824: reject prematurely closed curly bracket in JSON.
2019-10-21 23:35:15 +03:00
Munendra S N
437b7445c6
SOLR-9802: fix grouping failure for date fields in solrcloud
...
Closes #221
2019-10-20 16:10:55 +05:30
Munendra S N
c65451115c
SOLR-13403: fix NPE in terms for DatePointField
...
* This fixes NPE and adds support for DatePointField in terms
component
2019-10-19 00:09:07 +05:30
Andrzej Bialecki
441af3e7aa
SOLR-13677: All Metrics Gauges should be unregistered by components that registered them.
2019-10-18 18:44:16 +02:00
Munendra S N
2cbe03429e
SOLR-13827: fail on unknown operation in Request Parameters API
2019-10-18 21:28:53 +05:30
Shalin Shekhar Mangar
ab65f34686
SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas
...
(cherry picked from commit 86a40c1cd5691ce8c9c233c9a8186a4f50aa4f5f)
2019-10-18 14:52:26 +05:30
Chris Hostetter
28c1049a25
SOLR-13741: Harden AuditLoggerIntegrationTest
...
(cherry picked from commit 63e9bcf5d150e6324e5133a001613bd7f738a183)
2019-10-16 16:56:57 -07:00
Chris Hostetter
3a67c82c91
SOLR-13852: Fix TestCloudNestedDocsSort to ensure child docs are never created in a way that violates uniqueKey rules
...
(cherry picked from commit ebc720c5b09ae06b8ab093b296bf87e4f6ed978f)
2019-10-16 16:04:58 -07:00
Jan Høydahl
5a074b0fe4
SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT ( #946 )
...
(cherry picked from commit 611c4f960e9472880e2ec24dda9336a59cd41426)
2019-10-17 00:47:42 +02:00
Andrzej Bialecki
ac418540d0
SOLR-13849: Ignore events created by running triggers.
2019-10-16 10:34:18 +02:00
Chris Hostetter
59548c16d3
SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it
...
(cherry picked from commit 939b3364e604a4a16b3c4c5f278c4d7f30f1354b)
2019-10-15 15:38:02 -07:00
Ishan Chattopadhyaya
fb4b2a8834
SOLR-13834: ZkController#getSolrCloudManager() now uses the same ZkStateReader instance instead of instantiating a new one
...
ZkController#getSolrCloudManager() created a new instance of ZkStateReader, thereby causing mismatch in the
visibility of the cluster state and, as a result, undesired race conditions.
2019-10-15 14:52:16 +05:30
Ishan Chattopadhyaya
46df93ced4
SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops
2019-10-15 14:43:57 +05:30