partition registration before lineage in msg handling