-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: Previously, the Central Dogma server in `MetadataService` would repeatedly attempt to commit when - `ChangeConflictException` is raised. - The revision for fetching the content differs from the repository head revision. With the introduction of `ContentTransformer` in #1064, the server can now handle transformations in a single attempt, avoiding unnecessary retries. Modifications: - Updated `MetadataService` to utilize `ContentTransformer` for commit operations. Result: - Improved efficiency in `MetadataService` by eliminating repeated commit attempts. To-do: - Encapsulate `tokenRepo` and `metadataRepo` in `MetadataService` into its class respectively.
- Loading branch information
Showing
8 changed files
with
351 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.