Commit Graph

1932 Commits

Author SHA1 Message Date
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
Tomas Fernandez Lobbe 67dab22f29 SOLR-11960: Don't add property listeners on core registration 2018-03-15 12:21:20 -07:00
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Andrzej Bialecki 25ec5cda0b SOLR-11670: Allow for larger diff in simulated time. 2018-03-15 11:52:11 +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
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
David Smiley bf6503ba58 SOLR-11617: rename alias metadata to properties 2018-03-12 10:36:37 -04: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
Erick 7dfb04ee5e SOLR-12072: Invalid path string using ZkConfigManager.copyConfigDir(String fromConfig, String toConfig) 2018-03-08 22:00:16 -08:00
David Smiley 582c828727 SOLR-11722: Minor improvements to documentation in collections.Commands.json 2018-03-08 11:19:22 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00
David Smiley ee1c742c19 SOLR-11722: Merge CREATEDROUTEDALIAS command into CREATEALIAS. Only
an API & docs change; the implementation was already there.
2018-03-07 15:16:02 -05:00
Tomas Fernandez Lobbe 277dd05086 SOLR-12061: Fix substitution bug in API V1 to V2 migration 2018-03-07 10:58:17 -08:00
Tomas Fernandez Lobbe 2ff27ca507 SOLR-12061: Comment out failing test 2018-03-06 10:14:58 -08:00
Tomas Fernandez Lobbe c1a44251fe SOLR-11960: Add collection-level properties
Similar to cluster properties, but apply to a single collection.
2018-03-05 16:59:56 -08:00
Cao Manh Dat 27eb6ba062 SOLR-12011: Remove FORCEPREPAREFORLEADERSHIP 2018-03-05 16:33:45 +07:00
Joel Bernstein dc5db9b2f1 SOLR-12054: ebeAdd and ebeSubtract should support matrix operations 2018-03-04 20:22:33 -05:00
Erick ad7e94afb2 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-03 21:42:14 -08:00
noble 23aee00213 SOLR-12031: Refactor Policy framework to make simulated changes affect more than a single node
SOLR-12050: UTILIZENODE does not enforce policy rules
2018-03-02 17:01:22 +11:00
Shalin Shekhar Mangar d512cd7604 Fix camel case in method name 2018-02-27 16:16:39 +05:30
Erick Erickson 1fe45606b9 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-02-26 20:35:12 -08:00
Joel Bernstein 50c17b92bd SOLR-11923: Add bicubicSpline Stream Evaluator 2018-02-26 15:18:11 -05:00
Andrzej Bialecki 86be873915 SOLR-11911: Add more details to failure logs, modify the test to create a single event
that contains all affected nodes.
2018-02-26 10:56:22 +01:00
Erick Erickson 6164643882 SOLR-10809: Get precommit lint warnings out of Solr core 2018-02-25 22:13:47 -08:00
Ishan Chattopadhyaya b212f2e9b7 SOLR-8327: Cluster state caching for nodes not hosting the collection 2018-02-25 11:54:33 +05:30
Chris Hostetter 9e0e301f9f SOLR-12021: Fixed a bug in ApiSpec and other JSON resource loading that was causing unclosed file handles 2018-02-23 10:43:22 -07:00
Jason Gerlowski d2d987fd74 Fix ConcurrentUpdateSolrClient.Builder withQueueSize Javadocs 2018-02-22 13:56:37 -05:00
Joel Bernstein e746d7a001 SOLR-11588: Add matrixMult Stream Evaluator to support matrix multiplication 2018-02-19 19:27:25 -05:00
Joel Bernstein 6c0f9ac8c7 SOLR-11689: Add l1norm, l2norm and linfnorm Stream Evaluators 2018-02-16 19:07:37 -05:00
Andrzej Bialecki 26a037636d SOLR-11912: Improve TriggerIntegrationTest to avoid side-effects between tests (spurious autoscaling events).
Add a convenience method to DistribStateManager to remove data recursively.
2018-02-16 11:28:57 +01:00
Andrzej Bialecki 0231d5cdba SOLR-11899 Fix a race condition when testing removal of ephemeral nodes. 2018-02-13 17:58:45 +01:00
Christine Poerschke 298d90b621 LUCENE-8167: fix two incompleteEnumSwitch warnings in solr/solrj 2018-02-12 17:43:51 +00:00
David Smiley 5a26381424 SOLR-11722: Rename max-future-ms to maxFutureMs 2018-02-09 11:24:58 -05:00
David Smiley 1527ce57d4 SOLR-11925: Rename RoutedAliasCreateCollectionCmd as MaintainRoutedAliasCmd (internal Cmd) 2018-02-08 23:16:12 -05:00
David Smiley 02b5172ea2 SOLR-11925: Time Routed Aliases: router.autoDeleteAge feature 2018-02-08 23:12:09 -05:00
Noble Paul 3ad61d2f9c SOLR-11067: REPLACENODE should identify appropriate nodes if targetNode is not provided 2018-01-31 21:49:02 +11:00
Cao Manh Dat c56d774eb6 SOLR-11661: New HDFS collection reuses unremoved data from a deleted HDFS collection with same name causes inconsistent view of documents 2018-01-30 11:30:24 +07:00
Andrzej Bialecki d3d7b0034d SOLR-11376: Support computing plans for only specific collections. 2018-01-29 12:16:16 +01:00
David Smiley 154bdeb7db SOLR-11617: Alias metadata API; returned from LISTALIASES, set via MODIFYALIAS 2018-01-28 16:56:19 -05:00
David Smiley b0d244f656 SOLR-11722: Refactor out a TimeRoutedAlias class from various parts.
Also allowed TRA's to be tolerant of pre-existing collections.
2018-01-26 11:37:00 -05:00
David Smiley a1828a5664 SOLR-11722: New CREATEROUTEDALIAS cluster command for time routed aliases.
(a refactoring of some of the related parts will follow in next commit)
2018-01-25 14:45:49 -05:00
David Smiley d8e9ab8785 SOLR-11722: Improve the v2/v1 API mapping, including a bug.
Wrapped getParameterNamesIterator failed to consider attrToParams.
(committing this separately from rest)
2018-01-25 14:23:44 -05:00
Andrzej Bialecki fa511a0a6f SOLR-11714: AddReplicaSuggester / ComputePlanAction infinite loop. 2018-01-24 14:02:55 +01:00
Joel Bernstein a09126d926 SOLR-11862: Relax test thresholds 2018-01-23 19:31:08 -05:00
Joel Bernstein a664b63d42 SOLR-11890: Add multiKmeans Stream Evaluator 2018-01-23 15:54:37 -05:00
Joel Bernstein 50a6cb1b05 SOLR-11862: Add fuzzyKmeans Stream Evaluatory 2018-01-23 12:29:31 -05:00
Noble Paul 2f4f8932c6 SOLR-11051: Use disk free metric in default cluster preferences 2018-01-23 16:04:48 +11:00
Noble Paul 876ecd87fb SOLR-11871: MoveReplicaSuggester should not suggest leader if other replicas are available 2018-01-23 00:12:51 +11:00
Joel Bernstein f491fad955 SOLR-11867: Add indexOf, rowCount and columnCount StreamEvaluators 2018-01-17 15:43:05 -05:00