keepConcentration opened a new issue, #8367:
URL: https://github.com/apache/gravitino/issues/8367

   ### What would you like to be improved?
   
   This issue is related to #7110 and #8238
   
   The test `TestOwnerMetaService.testDeleteMetadataObject` currently invokes 
   `OwnerMetaService.setOwner(...)` twice with the same parameters.
   
   As a result, when `softDeleteOwnerRelByMetadataObjectIdAndType()` runs, both 
rows get updated with the same `deleted_at` value, which triggers a 
`JdbcSQLIntegrityConstraintViolationException`.
   
   ### How should we improve?
   
   Remove the second invocation of `OwnerMetaService.setOwner(...)` in 
`testDeleteMetadataObject`.


-- 
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