McDonald's filed a lawsuit against its prominent partners for years of unresolved issues.