-
Bug
-
Resolution: Not a Bug
-
Major
-
1.33.0
-
None
-
False
-
None
-
False
-
-
Summary
When starting up Data Index with postgresql on OCP, there is a version 1.32.0 mentioned in logs. It wants to migrate to schema 1.32.0 but it should be 1.33.0 or it inidcates we have some confusing versioning on our side.
Actual result:
2024-06-04 18:07:31,015 INFO [org.fly.cor.int.sch.JdbcTableSchemaHistory] (main) Creating Schema History table "data-index-service"."flyway_schema_history" ... 2024-06-04 18:07:31,516 INFO [org.fly.cor.int.com.DbMigrate] (main) Current version of schema "data-index-service": null 2024-06-04 18:07:31,825 INFO [org.fly.cor.int.com.DbMigrate] (main) Migrating schema "data-index-service" to version "1.32.0 - data index create"
Expected result:
2024-06-04 18:07:31,015 INFO [org.fly.cor.int.sch.JdbcTableSchemaHistory] (main) Creating Schema History table "data-index-service"."flyway_schema_history" ... 2024-06-04 18:07:31,516 INFO [org.fly.cor.int.com.DbMigrate] (main) Current version of schema "data-index-service": null 2024-06-04 18:07:31,825 INFO [org.fly.cor.int.com.DbMigrate] (main) Migrating schema "data-index-service" to version "1.33.0 - data index create"
Please note the expected result might be wrong, it seem these scripts are here - https://github.com/kiegroup/kogito-apps/blob/main/data-index/data-index-storage/da[…]/db/migration/V1.45.0.2__data_index_definitions_add_columns.sql
And they are left over from kiegroup community releases.