Commit Graph

6796 Commits

Author SHA1 Message Date
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Shalin Shekhar Mangar b0f677c383 SOLR-12087: Fixed bug in TimeOut.waitFor that can cause an infinite loop and added javadocs 2018-03-26 16:58:56 +05:30
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Jason Gerlowski c4abbfd5f7 SOLR-11551: Standardize CoreAdmin API status codes 2018-03-24 10:48:15 -04:00
Noble Paul e364f5be31 SOLR-12015: fixed typo in CHANGES.txt 2018-03-23 13:52:25 +11:00
Noble Paul e340cef68d SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name> 2018-03-23 13:48:28 +11:00
Cao Manh Dat 92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
David Smiley 8e87a3e336 Remove obsolete comment 2018-03-21 11:41:36 -04:00
Cao Manh Dat d2ef38d784 SOLR-12110: Remove debug log for test 2018-03-21 11:25:53 +07:00
Cao Manh Dat 63a145aa7b SOLR-12129: After the core is reloaded, term of the core will not be watched 2018-03-21 09:35:51 +07:00
Chris Hostetter 8bd7e5c9d2 SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used

This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.

- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
  the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Andrzej Bialecki ed2d358330 SOLR-11670: Make sure defaults are applied in simulated cluster. 2018-03-19 15:16:50 +01:00
Andrzej Bialecki 9980f05ac3 SOLR-11911: Check for thread interrupted and stop looping. 2018-03-19 14:52:18 +01:00
Erick Erickson c48177b4b6 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-17 19:25:18 -07:00
David Smiley 4b08efcf1c SOLR-11731: LatLonPointSpatialField now supports docValue retrieval
Closes #323
2018-03-17 12:21:53 -04:00
Cao Manh Dat be8dca3c7b SOLR-12110: Replica which failed to register in Zk can become leader 2018-03-17 06:54:55 +07:00
Varun Thacker c4d0223ad4 SOLR-12083: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR 2018-03-16 14:03:48 -07:00
markrmiller 7330010e1d SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. 2018-03-16 11:50:52 -05:00
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Ishan Chattopadhyaya fbdf7fa736 SOLR-11920: Differential file copy for IndexFetcher 2018-03-15 19:31:15 +05:30
Shalin Shekhar Mangar dab739ae4c SOLR-11702: Minor edits to log and exception messages 2018-03-15 16:58:59 +05:30
Shalin Shekhar Mangar cb453ce110 SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened due to using stale http connections 2018-03-15 02:22:25 +05:30
Varun Thacker 57524f1d41 SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates 2018-03-14 12:58:30 -07:00
Andrzej Bialecki 5e02c18769 SOLR-11911: Wait a while for left-behind threads from executors. 2018-03-14 14:27:51 +01:00
Shalin Shekhar Mangar 941351a5c2 SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package 2018-03-14 16:29:56 +05:30
Shalin Shekhar Mangar 9de0ebe797 SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page 2018-03-14 10:26:45 +05:30
Andrzej Bialecki b6fcf4157b SOLR-12070: Make sure searcher beans are registered. 2018-03-13 16:00:27 +01:00
Andrzej Bialecki ed6feded6d SOLR-11670: Use TimeSource's value of NOW consistently when parsing date math.
Add a unit test for TimeSource's epochTime.
2018-03-13 13:47:14 +01:00
Shalin Shekhar Mangar 536e16d3af SOLR-12067: Fix AutoAddReplicasIntegrationTest by using solr.xml which has autoReplicaFailoverWaitAfterExpiration set to 10 seconds 2018-03-13 18:15:21 +05:30
Cao Manh Dat 0cd9f7f35a SOLR-12028: Remove BadApples for ZkShardTermsTest.testParticipationOfReplicas 2018-03-13 10:32:10 +07:00
yonik 68d8eb4504 SOLR-12064: resize reused accs to fix bugs with limit:-1 and missing:true 2018-03-12 21:56:02 -04:00
Andrzej Bialecki b82ce515f0 Fix precommit (stray import). 2018-03-12 20:00:13 +01:00
Varun Thacker 2a0b7767ab SOLR-12076: Remove unnecessary printLayout usage in CDCR tests 2018-03-12 11:07:39 -07:00
Andrzej Bialecki 28ddb5f355 Remove BadApple from this test for now - the bugUrl wasn't valid anymore and
the test seems to pass.
2018-03-12 16:36:46 +01:00
David Smiley bf6503ba58 SOLR-11617: rename alias metadata to properties 2018-03-12 10:36:37 -04:00
Andrzej Bialecki 55ba89ef42 SOLR-12070: Fix testJmxIntegration that used obsolete APIs. 2018-03-12 14:28:10 +01:00
Cao Manh Dat a9fd0754ba SOLR-12028: Remove BadApples for LIRRollingUpdatesTest 2018-03-12 17:39:36 +07:00
Mikhail Khludnev 8f1350af20 SOLR-11673: specifying exact ticket in @BadApple 2018-03-11 11:00:55 +03:00
Mikhail Khludnev fa55f0c2f2 SOLR-9510: introducting {!filter param=$fq excludeTags=t,q}foo:bar, also adding
filters and excludeTags local params into {!parent} and {!child}
2018-03-11 08:25:05 +03:00
Cao Manh Dat e926f435d7 SOLR-11702: Remove noise of exception messages on failed to ping leader 2018-03-11 07:05:46 +07:00
Erick Erickson f1f929b15a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-10 10:58:15 -08:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Shalin Shekhar Mangar e47bf8b63a SOLR-12011: Remove unused imports 2018-03-10 06:23:29 +05:30
Shalin Shekhar Mangar f0d46ead45 SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds 2018-03-10 05:59:16 +05:30
Cao Manh Dat 05d4a9320c SOLR-12051: Adding error log in case of data loss 2018-03-10 07:20:05 +07:00
Andrzej Bialecki 78097d2098 SOLR-12075: BadApple TestLargeCluster until the issues can be resolved. 2018-03-09 21:25:37 +01:00
Cao Manh Dat 423a8cf69c SOLR-12051: Election timeout when no replicas are qualified to become leader 2018-03-09 18:19:09 +07:00
Cao Manh Dat dae572819b SOLR-11702: Fix precommit, only throw error to client if the replica is not in the same shard as leader 2018-03-09 10:34:59 +07:00
David Smiley 588e19eda1 SOLR-11976: TokenizerChain.normalize was only considering the first MultiTermAwareComponent 2018-03-08 22:30:39 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00