Hello,
The routing table is not shared. VSX is a cluster technology with independant control plane. Each VSX node has to run routing protocol with their own router-ID. So, considering OSPF for instance, primary has adjacency with upstream routers as well as secondary. Likewise, you define a transit VLAN between primary and secondary to ensure IGP continuity in case primary or secondary upstream L3 link to routers fails.
