{"push_id":1444743318,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"ee7b1737342edd655f358a063de7c5721fedfde7","before":"c3c9e7e144923bc78242be7fa6772a540052dd47","commits":[{"sha":"ee7b1737342edd655f358a063de7c5721fedfde7","author":{"name":"Huachao Huang","email":"4bc6b0b1fc382673098f8f635dd5e437acb4a56d@gmail.com"},"message":"Merge develop into master (#423)\n\n* server/selector: add selector interface and balance selector (#388)\r\n\r\nWe can use selector to abstract different strategies to select the\r\nsource and target stores.\r\n\r\n* server: use selector to schedule region peer (#389)\r\n\r\n* server/resource: replace score type with resource kind (#393)\r\n\r\nI think the score things are too complicated, we can calculate\r\nthe scores more easily.\r\n\r\n* server/metrics: remove redundant metrics (#395)\r\n\r\n* server/balancer: add scheduler and simplify schedule configs (#396)\r\n\r\nThe original balance configs are complicated and some of them are very\r\nconfusing, now we simplify them to make it more easy to understand.\r\n\r\nWe replace the concept of \"balance\" with \"schedule\". Balance means to\r\nkeep the resource balance, but we will introduce different kinds of\r\nstrategies in the future which may not balance, and balance is just one\r\nkind of strategies to schedule resources between stores.\r\n\r\n* server/coordinator: replace balancer worker with coordinator (#398)\r\n\r\nCoordinator can control the speed of different schedulers.\r\n\r\nEvery scheduler has a unique name, we can add API to run or stop any\r\nschedulers dynamically, and different schedulers can run concurrently.\r\n\r\n* server/constraints: add replication constraints (#402)\r\n\r\n* server/scheduler: add grant-leader-scheduler (#406)\r\n\r\n* server/coordinator: combine scheduler and controller\r\n\r\n* server/api: add scheduler api (#407)\r\n\r\nWe can now use API to list all schedulers, add or remove a scheduler.\r\n\r\n* Add shuffle-leader-scheduler (#409)\r\n\r\n* server/scheduler: add shuffle-leader-scheduler","distinct":true,"url":"https://api.github.com/repos/pingcap/pd/commits/ee7b1737342edd655f358a063de7c5721fedfde7"}]}
{"actor":{"display_login":"huachaohuang"}}