replica: use blob.Ref as map key. add TODO comments.

Change-Id: Ie697c32b296df02134ab3aeda6defa96e3ff1aaa