Schema Mixin
Understanding the schema mixin implementation.
All components for described flows are implemented in the Goten repository, we have several places where implementation can be found:
runtime/schema-mixin
we have a mixin service directory, which must
be part of all services using Goten.runtime/store/constraint
we have another “middleware” for Store,
which is aware of cross-service & regional nature of schemas.
This middleware must be used in all.runtime/db_constraint_ctrl
we have a controller that handles
asynchronous schema-related tasks like asynchronous cascade deletions,
meta owner references management, etc.runtime/db_syncing_ctrl
we have a controller that handles all
tasks related to DB syncing: Cross-region syncing, metadata.syncing
updates, database upgrades, and search database syncing as well.Understanding the schema mixin implementation.
Understanding the metadata synchronization decorator.
Understanding the constraint store.
Understanding the database constraint controller.
Understanding the database syncer controller.