yuqi1129 opened a new issue, #14786: URL: https://github.com/apache/gravitino/issues/14786
### Version main branch, commit f475443da6 (2.0.0-SNAPSHOT) ### Describe what's wrong #14420 fixes this race for tables created through the Gravitino REST API. Other create paths also set the owner by name after the object is created. A concurrent drop can make a successful create fail with 404. Paths with the same pattern: - `core/.../hook`: Fileset, Function, Model (both register paths), Schema (`setOwners`), SemanticModel, Topic, View - Iceberg REST, through `IcebergOwnershipUtils`: table, view, namespace These were found by reading the code. They have not been reproduced. ### Error message and/or stacktrace Same shape as #14420: `Metadata object ... or owner ... is not found`. ### How to reproduce Enable authorization. Create and drop the same object name concurrently, as in #14420, using one of the paths above. ### Additional context - Depends on the `NoSuchMetadataObjectException` signal added for #14420. - `setOwners` has no such signal yet, because it reports one generic not-found for the whole batch. - Catalog, Metalake, Tag, Policy and Job also set an owner after create. Check whether they can race in the same way. -- 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]
