What was the Mexican problem?

Historically, to decide whether or not to annex all of Mexico after the Mexican-American War (1846-1848).