Mattingly asked West for a review, and the call was confirmed, ending the inning with the Giants leading, 7-2, which ended up the final score.
"If I score there, it might have led to a big inning," said Ellis.
The review was Mattingly's first challenge this year under the expanded replay system.
Ken Gurnick is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.