Fix a bug of demoting a root.
Replace NullPointerException with IllegalArgumentException
Add exception for multiple parents
Add handling of MultipleParentsException
Increase throughputs
Add validation against RDS
Fix failed unit test
Merge pull request #507 from eric-wu/develop

Merge down dynamo patch from release-y