Some vpn routes can be missing in the BGP update from the provider edge (PE) router under the following scenario:
The issue can be avoided by configuring 'advertise-from-main-vpn-tables' command. With this command bgp.l3vpn.0 table gets a copy of the routes from each VRF table instances (both the old and new one, as two different routes). The race condition between the deleting and re-creation of the routes is absorbed by collecting them in a common table and advertising state out of that table.
The possible workaround is to avoid deleting and re-creating the RI in the same commit. If the RI is deleted first and re-created in another commit, the issue will not be present.