Skip to content

Better support for Feast database upgrades #745

Closed

Description

@pmjacinto

Is your feature request related to a problem? Please describe.

#655 (feast 0.5.0) introduced several changes in the DB schema. Some are easier to handle (new columns) but some are harder, for instance the PK of feature_sets changed datatypes from VARCHAR to a BIGINT.

Describe the solution you'd like

As a first approach, could we have a manual DB upgrade script linked, per release, in the changelog? It would make life easier for operators, as we wouldn't need to check multiple issues for DB changes.

I think having something like Flyway integrated into the project, as suggested by @ches, would really help in making this process as painless as possible.

Describe alternatives you've considered

Additional context

Activity

  1. woop commented on May 27, 2020

    @woop
    Member

    Is your feature request related to a problem? Please describe.

    #655 (feast 0.5.0) introduced several changes in the DB schema. Some are easier to handle (new columns) but some are harder, for instance the PK of feature_sets changed datatypes from VARCHAR to a BIGINT.

    Describe the solution you'd like

    As a first approach, could we have a manual DB upgrade script linked, per release, in the changelog? It would make life easier for operators, as we wouldn't need to check multiple issues for DB changes.

    I think having something like Flyway integrated into the project, as suggested by @ches, would really help in making this process as painless as possible.

    Describe alternatives you've considered

    Additional context

    Thanks for raising this @pmjacinto. We meant to get around to this. In fact, we should have an upgrade process from 0.4 to 0.5 that describes all the steps needed, which doesnt just include the data model changes but also the steps to upgrading online clients.

  2. woop commented on Jun 21, 2020

    @woop
    Member

    We're adding Flyway support over here to make this a bit simpler #809

  3. stale commented on Aug 20, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    wontfix
    on Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/processwontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions