Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNITE-24564 Add all existing catalog serializers to a single registry #5293

Merged
merged 14 commits into from
Mar 6, 2025

Conversation

xtern
Copy link
Contributor

@xtern xtern commented Feb 25, 2025

https://issues.apache.org/jira/browse/IGNITE-24564

  • Added CatalogSerializer annotation, with which the serializer version is set. It is mandatory for all catalog serializers and is used to build the serializer registry.
  • Added CatalogEntrySerializerProviderImpl, which dynamically creates registry of all serializers using CatalogSerilizer annotation.
  • Added CatalogSerializerTypeDefinition to be able test dynamic registry creation (without changing enum MarshallableEntryType), (see CatalogEntrySerializerProviderImplTest)
  • Added serializers for all catalog descriptors.
  • All available catalog serializers moved to separate container classes (for example AlterColumnEntry.AlterColumnEntrySerializer moved to AlterColumnEntrySerializers.AlterColumnEntrySerializerV1)
  • All available serializers now uses CatalogEntrySerializerProvider to obtain desired serializer (instead of using direct reference)
  • Dropped UpdateLogEvent, usages replaced with MarshallableEntry

@xtern xtern force-pushed the ignite-24564 branch 7 times, most recently from bf8be64 to b375122 Compare February 26, 2025 20:24
@xtern xtern marked this pull request as ready for review February 28, 2025 14:14
@xtern xtern changed the title IGNITE-24564 IGNITE-24564 Add all existing directory serializers to a single registry Feb 28, 2025
@xtern xtern changed the title IGNITE-24564 Add all existing directory serializers to a single registry IGNITE-24564 Add all existing catalog serializers to a single registry Feb 28, 2025
@xtern xtern requested a review from AMashenkov February 28, 2025 14:57
@xtern xtern merged commit 912a970 into apache:main Mar 6, 2025
1 check passed
@xtern xtern deleted the ignite-24564 branch March 6, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants