-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create migration for only max schema key of the same schema model
After starting to use lookupSchemasUntil in fetchSchemasWithSameModel, we are only getting schemas until the given schema key for every schema key. Previously, we were getting all the schemas for the same schema model. This change caused change of behavior when a message contains multiple schema keys for same schema model. When this happens, RDB Loader tries to create same table multiple times. In order to solve this problem, this commit contains the change for creating the migration for only max schema key of the same schema model.
- Loading branch information
Showing
2 changed files
with
117 additions
and
1 deletion.
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