Fix bug: big data may crash

In old version, if failure happens in saving part, the whole data is destroied.
After introduce randomId, the part key is never shared between old and new value.