shangeyao opened a new pull request, #4385:
URL: https://github.com/apache/streampark/pull/4385

   ## Summary
   - Add `pendingStarts` / `pendingCancels` in-memory guards to reject 
duplicate operations
   - Use conditional `lambdaUpdate` to atomically transition application state 
to STARTING/CANCELLING
   - Clean up pending flags on async completion or submission failure
   
   Fixes #4384
   
   ## Test plan
   - [ ] Rapid double-click start on a Flink app — only one submission occurs
   - [ ] Rapid double-click cancel — second request is ignored with warn log
   - [ ] Auto-restart on failure still works
   
   ---
   **AI Disclosure**
   - Model: Claude Opus 4.6
   - Platform/Tool: Cursor
   - Human Oversight: partially reviewed
   - Prompt Summary: Implement start/stop concurrency lock from dev branch 
optimization scan
   
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to