[DataSync] Apply constructor checking.

* [NABI-RSA] TDIS-5779
Merge pull request #343 from wcwang/next

[DataSync] Apply constructor checking.