You're going to have to explain that to me, especially because the DMG has optional rules where flanking grants advantage. Advantage is essentially always better unless your character is horrible at melee. Either the game is built to account for characters getting circumstantial bonuses like advantage or bless or magic weapons, or the entire combat system is broken.
Seriously, look at the percentages for d20+2 vs d20 advantage, remembering that a natural 20 is always a success. D20+2 is only better when you need the d20+2 roll to be a 19, 20, or 21 to hit, which is like AC 23-25 at level 1 and like AC 28-30 at level 10. Even then I'm not sure if the higher crit rate of advantage doesn't mean it's still better. This is not a scenario we realistically need to care about.
I think flanking being +2 is perfectly fine. However, I would also probably say that flanking counts as advantage, too, so it's spoiled by (and spoils) disadvantage and it doesn't stack with (and is superceded by) advantage. That's a lot more fiddley, but I think it's a good compromise to prevent bonus hunting.