Commit Graph

27138 Commits

Author SHA1 Message Date
Noble Paul c3aa3f9fa6 precicion has to be a positive value 2017-05-26 15:08:31 +09:30
Noble Paul f4c186c9cb MoveSuggester should do greedy check 2017-05-26 11:32:34 +09:30
Noble Paul a0cd8decc6 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-05-26 09:21:58 +09:30
Noble Paul a1f5cc8d9b added extra clause 2017-05-26 09:21:48 +09:30
Andrzej Bialecki f0054a30d1 SOLR-10515: Persist intermediate trigger state in ZK. 2017-05-25 20:16:01 +02:00
Noble Paul b933b60407 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-05-25 17:55:10 +09:30
Noble Paul 9ad811b36f fixed and added test for greedy conditions 2017-05-25 17:55:00 +09:30
Shalin Shekhar Mangar f9cf54963c SOLR-10738: Added tests for trigger.init() and TriggerAction lifecycle 2017-05-25 00:12:03 +05:30
Shalin Shekhar Mangar ce7367d54e SOLR-10738: Trigger has an init method which is called before schedule. Actions are init'ed in this method. Fixed NodeLostTriggerTest failures. 2017-05-24 16:46:25 +05:30
Noble Paul fe217668cb Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-05-24 18:38:58 +09:30
Shalin Shekhar Mangar b010ebd515 SOLR-10738: TriggerAction is initialised even if the trigger is never scheduled 2017-05-24 14:38:26 +05:30
Noble Paul 66a6cffd66 use the hint to add collection to session 2017-05-24 18:35:54 +09:30
Noble Paul cfe5cffddd javadocs 2017-05-24 16:26:12 +09:30
Shalin Shekhar Mangar ba670a0c2a SOLR-10677: Expose a diagnostics API to return nodes sorted by load in descending order and any policy violations 2017-05-23 14:58:04 +05:30
Noble Paul 11f70a0e20 test for violations 2017-05-23 15:04:02 +09:30
Noble Paul e59cce6a87 nodeROle misspelled 2017-05-23 12:14:02 +09:30
Noble Paul 07e630b7c4 test all rows in one go instead of one row at a time 2017-05-22 15:40:49 +09:30
Shalin Shekhar Mangar c15a17379f SOLR-10714: OverseerTriggerThread does not start triggers on overseer start until autoscaling config watcher is fired 2017-05-19 17:51:18 +05:30
Shalin Shekhar Mangar ab7257fedc SOLR-10373: Move setWT to RequestHandlerUtils. Use JSON as default response writer for autoscaling API. 2017-05-16 13:37:55 +05:30
Shalin Shekhar Mangar 607184c47e SOLR-10643: Unset hasPendingActions flag after all actions have been run 2017-05-15 18:59:52 +05:30
Shalin Shekhar Mangar 1f3f50745a Move frequent info logging to debug level 2017-05-15 14:32:13 +05:30
Shalin Shekhar Mangar 5d7069bd52 Use correct znode path for autoscaling configuration 2017-05-15 14:05:53 +05:30
Noble Paul 65744aa5d6 suggesters return SolrRequest object , no map 2017-05-15 13:49:45 +09:30
Shalin Shekhar Mangar 17490d30f3 SOLR-10373: Override registerV2() in AutoScalingHandler, Fix api spec name used in AutoScalingHandler and merge problem in api spec 2017-05-12 14:00:27 +05:30
Shalin Shekhar Mangar 3aa0da78c2 SOLR-10373: Implement read API for autoscaling configuration at /admin/autoscaling or /cluster/autoscaling paths 2017-05-12 13:34:00 +05:30
Shalin Shekhar Mangar 269fdf4613 SOLR-10643: Throttling strategy for triggers and policy executions 2017-05-11 12:48:40 +05:30
Noble Paul 6a3f22ffd4 SOLR-10278: fix infinite loop in in MoveReplicaSuggester 2017-05-08 18:33:21 +09:30
Shalin Shekhar Mangar dc9ab49967 SOLR-10602: Triggers should be able to restore state from old instances when taking over 2017-05-04 16:17:53 +05:30
Shalin Shekhar Mangar 9bb492e038 SOLR-10376: Fixed typo in comment 2017-05-03 12:31:39 +05:30
Shalin Shekhar Mangar 055c4d2a57 SOLR-10376: Close actions on trigger close 2017-05-03 11:58:08 +05:30
Shalin Shekhar Mangar c1bdd8de6e SOLR-10278: testMoveReplica should call suggester.getOperation more than once 2017-05-02 16:49:15 +05:30
Shalin Shekhar Mangar ddc7425660 SOLR-10278: Fixed typo 2017-05-02 16:47:58 +05:30
Noble Paul 56859741c2 SOLR-10278: fix errors in move replica suggester 2017-05-02 20:21:37 +09:30
Noble Paul 2818ee91dd SOLR-10278: special case of global tags were not taken care of 2017-05-02 18:26:31 +09:30
Noble Paul 83f8ed8634 SOLR-10278: avoid NPE 2017-05-02 17:55:40 +09:30
Shalin Shekhar Mangar d81cc6c638 SOLR-10374: Replace replicas with cores in set-cluster-preferences command 2017-05-02 13:00:52 +05:30
Shalin Shekhar Mangar 3cf4b92725 SOLR-10374: Added set-cluster-policy, set-cluster-preferences commands 2017-05-02 12:42:13 +05:30
Noble Paul 70462ed6a5 SOLR-10278: make hints optional 2017-05-02 14:23:25 +09:30
Noble Paul ea106682c2 Policy framework changed for the new format cluster-preferences, cluster-policy and other common policies 2017-05-01 16:58:41 +09:30
Shalin Shekhar Mangar ba63ac69ec SOLR-10339: Use boolean value in json for enabled attribute 2017-04-28 12:31:46 +05:30
Shalin Shekhar Mangar 73170ee06c SOLR-10376: Catch and log connection loss and session expired exception but rethrow on all other KeeperExceptions 2017-04-28 12:09:16 +05:30
Shalin Shekhar Mangar bb4eb1c2a5 SOLR-10340: Use the right set-listener command in AutoScalingHandlerTest
SOLR-10339: Use boolean value in json for enabled attribute
2017-04-28 12:02:44 +05:30
Shalin Shekhar Mangar dae9201993 SOLR-10340: Improve error message from remove-trigger when active listeners exist for trigger 2017-04-28 12:00:21 +05:30
Shalin Shekhar Mangar 8f0d808583 SOLR-10376: Return shallow copy from getScheduledTriggerNames() method for safe access 2017-04-28 11:50:40 +05:30
Shalin Shekhar Mangar 1afa3ce41a SOLR-10376: Protect against NPE when autoscaling configuration was changed but no triggers were added 2017-04-28 11:49:19 +05:30
Shalin Shekhar Mangar 50fdf6ac7a SOLR-10376: Handle InterruptedException thrown by lock.lockInterruptibly() separately 2017-04-28 11:48:14 +05:30
Shalin Shekhar Mangar 12933ee4a7 SOLR-10278: Actually use skipNulls flag 2017-04-27 14:00:02 +05:30
Shalin Shekhar Mangar 4fccc59db8 SOLR-10396: Fix parsing exception in waitFor attribute 2017-04-27 11:55:32 +05:30
Shalin Shekhar Mangar ed864d1837 SOLR-10376: Fix parsing exception in waitFor attribute 2017-04-27 11:55:12 +05:30
Shalin Shekhar Mangar 7cc3399c08 SOLR-10376: Move locking code inside the refresh method 2017-04-27 11:53:38 +05:30