Rework metadata storage to retain metadata through PCEP session flaps