Date: 201912
Local time of day: 1201-1800
Location: ZZZ.ARTCC, US
Flight conditions: VMC
Light: Daylight
Aircraft: A319
Operator: Air Carrier
Operating under: Part 121
Flight plan: IFR
Mission: Passenger
Flight phase: Cruise
Airspace: Class A ZZZ
ATC / advisory: Center ZZZ
Aircraft component: Fan Variable Blade Mechanism
Component problem: Malfunctioning
Reporter organization: Air Carrier
Reporter function: Pilot Not Flying; Captain
Reporter qualification: Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument
Second reporter function: First Officer; Pilot Flying
Anomaly: Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Published Material / Policy; Flight Deck / Cabin / Aircraft Event Other / Unknown
Detector: Person Flight Crew
When detected: In-flight
Result: Air Traffic Control Provided Assistance; Flight Crew Inflight Shutdown; Flight Crew Landed in Emergency Condition; General Flight Cancelled / Delayed; General Maintenance Action
Contributing factors: Aircraft
Primary problem: Aircraft

Narrative: We were about 20 miles prior to TOD on arrival landing south with ZZZ Center; clearance PD to FL240 all systems normal. Captain PM; First Officer PF.Felt a vibration and noticed engine 2 roll back N1 to about 50% accompanied by ENG 2 STALL ECAM which directed us to turn on engine ignition. After ignition selected on; N1 returned to normal cruise setting but was accompanied by N2 vibration of about 4.5 units.ECAM complete; QRH referenced for ENGINE STALL. That checklist directed us to bring thrust lever on affected engine to idle and check engine indications. If abnormal; it directs to shut the engine off.When thrust lever was brought to idle; engine 2 again stalled accompanied by N2 vibration of about 9.9 units. With engine stalled and apparent damage; we continued to shut down engine 2.At this point; A position Flight Attendant called and advised vibrations felt and flames observed exiting engine 2 tail pipe. I told him we were aware and working on it and would call him back. As we ran ECAM to shut down engine 2; we began our descent to FL240. Remaining engine able to maintain managed speed. Once engine 2 secured and APU started; we re with Center. They cleared us to descend landing south. Called A position Flight Attendant and gave him NTSB with 20 minutes remaining and NO brace command. Had him prepare cabin for normal arrival and landing; advised would be stopping on runway and they would see fire trucks approach the airplane to ensure engine 2 safe enough for us to taxi to the gate. Made a PA to guests; advising them of situation.Approach vectored us and cleared us for ILS in VMC to XXR. Flaps 3 landing; stopped on XXR just short of Taxiway XX. Made PA advising guests to remain seated; all was fine; and the fire trucks were approaching to ensure that we were safe to continue taxiing to the gate. CFR advised no visible problems with engine 2 except oil leaking. Tower and ground controllers then cleared us to our gate with CFR following us to the gate. At the gate; CFR came on board and asked if further assistance required. We declined and they left. Guests deplaned normally; maintenance logbook entry made; and maintenance personnel met us to inspect the engine. Engine 2 oil quantity about 10 quarts at completion of flight. Also met by 2 Inflight Supervisors who joined us as we debriefed Flight Attendants.


Second narrative: [Report narrative added no additional information.]


Synopsis: A319 flight crew reported multiple engine stalls; so crew elected to shut down the Number 2 engine and make a precautionary landing at destination.