IsaakKrut commented on issue #2094:
URL: https://github.com/apache/streampipes/issues/2094#issuecomment-2311167988

   Hi @bossenti, I'd like to learn more about migrations. I took a look at this 
issue and there is already logging in place in AdapterMigrationManager on line 
108. 
   `else {
             LOG.info(
                 "Migration is not applicable for adapter '{}' because of a 
version mismatch - "
                     + "adapter version: '{}',  migration starts at: '{}'",
                 adapterDescription.getElementId(),
                 adapterVersion,
                 migrationConfig.fromVersion()
             );
           }`
   It was introduced as part of #2094. However, the adapter is not stopped when 
the adapter's version is lower than the migrationConfig's fromVersion. It's 
stopped only when versions are equal and migration fails. 
   
   My questions are:
   
   1. Should the adapter be stopped when its version is lower than the 
available migrations? What happens if it is not?
   2. With logging already in place, can this issue be closed?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to