CP-8378: RPC upgrade support with migration upgrade logic