Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-322

Data Index migrates to version 1.32.0 at startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • 1.33.0
    • 1.33.0
    • Cloud:Images, Persistence
    • 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.

              wmedvede@redhat.com Walter Medvedeo
              dhanak@redhat.com Dominik Hanak
              Neus Miras Chueca
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: