yuqi1129 commented on code in PR #13474:
URL: https://github.com/apache/gravitino/pull/13474#discussion_r4080746127
##########
clients/client-python/gravitino/constants/error.py:
##########
@@ -68,6 +69,9 @@ class ErrorConstants(IntEnum):
# Error codes for drop an in use entity.
IN_USE_CODE = 1010
+ # Error codes for optimistic-lock conflicts.
+ OPTIMISTIC_LOCK_CONFLICT_CODE = 1012
Review Comment:
The handler will compare the original error code and the new tests that have
been added.
--
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]