Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34389

JdbcAutoscalerStateStore explicitly writes update_time

    XMLWordPrintableJSON

Details

    Description

      JdbcAutoscalerStateStore explicitly writes update_time instead of relying on the database to update.

      Some databases doesn't support update the timestamp column automatically. For example, Derby doesn't support update the update_time automatically when we update any data. It's hard to do a general test during I developing the test for JdbcAutoscalerEventHandler.

       

      As the common&open source service, in order to support all databases well, it's better to handle it inside of the service.

       

      In order to unify the design for JdbcAutoscalerEventHandler and JdbcAutoscalerStateStore, we update the design of JdbcAutoscalerStateStore in this JIRA.

      Attachments

        Issue Links

          Activity

            People

              fanrui Rui Fan
              fanrui Rui Fan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: