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 #504 from eric-wu/release-z

Dynamo worker fix and improvement