B737-700
Flight Crew Air Transport Pilot (ATP)
Flight Crew Last 90 Days 534; Flight Crew Type 2486
Aircraft Equipment Problem Less Severe; Deviation / Discrepancy - Procedural Weight And Balance
Flight Crew Diverted; Flight Crew Landed As Precaution
Aircraft
We encountered a compressor stall on the #2 engine at the same time we were leveling off at FL390. In running the Engine Limit or Surge or Stall; QRC/QRH Checklist; it was determined that the engine was now operating normally. After conferring with the entire Crew; Dispatch; and MX; the decision to divert to [a suitable alternate] was made.With the engine running normally there was some discussion between the Captain and me over whether we should burn additional fuel before landing to prevent an overweight landing. We also discussed that using Captain's Emergency Authority was required to land overweight. Dispatch seemed to think an overweight landing was acceptable; so we elected to land overweight. We landed overweight but uneventfully.
B737-700 First Officer reported diverting to an alternate after experiencing a compressor stall on Number 2 engine.