Subgroup hierarchy vs. mysql db

Hi,
we’re running a MySQL based gitlab installation. What is the exact impact on subgroup hierarchies when updating to a version beyond 9.3? Will those groups, and their projects, be deleted, or ignored? Will the hierarchy be flattened?

Best Regards
mcelrath