[HELIX-570] Add default state model definitions if not already exists when controller starts
Review Request #31397 - Created Feb. 25, 2015 and updated - Latest diff uploaded
| Information | |
|---|---|
| Zhen Zhang | |
| helix-git | |
| 570 | |
| Reviewers | |
| helix | |
| kishoreg, slu | |
When controller starts, we can add missing default state model definitions to the cluster. This is useful for example, a legacy cluster is created without some new default state model definitions. Instead of building a tool to populate the new default state model definitions to existing clusters, controller can check this and add it if necessary.
mvn test