Torres had the operation Thursday and general manager Doug Wilson says he is expected back later this season.
Torres was injured in a collision with Anaheim forward Emerson Etem last Friday.
The Sharks were counting on Torres to provide energy and physical play this year. His acquisition late last season provided a needed spark to the team before he was suspended for the final six playoff games for an illegal hit on Los Angeles forward Jarret Stoll.
The Sharks signed Torres to a three-year, $6 million contract in June.
The old saying in hockey is 'weather the storm.' I put the notion in their heads that we don't want to weather the storm, we want to push just as hard and matched their work ethic. I thought our guys exceeded that in the first period.
— Edmonton Oilers coach Dallas Eakins after their loss to the Nashville Predators on Thursday