yuqi1129 opened a new issue, #12341: URL: https://github.com/apache/gravitino/issues/12341
### Describe the subtask\n\nDefine the shared optimistic-concurrency conflict contract used by entity write paths.\n\n- Introduce OptimisticLockException.\n- Add a stable optimistic-lock error response code.\n- Map optimistic-lock conflicts to HTTP 409.\n- Add API, response, server-common, and REST handler tests.\n\nThis task does not change individual entity persistence behavior. Entity-specific CAS logic will be implemented by follow-up subtasks.\n\n### Parent issue\n\nhttps://github.com/apache/gravitino/issues/12166 -- 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]
