Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schedule, server: persist scheduler list to etcd (#769)
* schudule, server: persist scheduler list to etcd * server: fix bug that use copy() incorrectly leading to src slice to be empty in clone() of ReplicationConfig * add test of persist scheduler * fix dead lock in mustNewCluster * abandon test of persist-scheduler, amend test of add scheduler * add Equals method of SchedulerConfig * clean verbose code * add comment * fix typo * add log * add test persist-scheduler * use reflect.DeepEqual instead * improve test of persist-scheduler and add log * use meanful argument in config * auto delete invalid scheduler config * avoid persist too frequently
- Loading branch information
1 parent
91e4257
commit 16e898c
Showing
17 changed files
with
244 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.