Added check on mongo partitioning

Change-Id: I9976bdec4cc5bba43d95d10602bd59c8fef1827e
Closes-Bug: #1308230
Merge "Added check on mongo partitioning" into stable/5.0