[ 
https://issues.apache.org/jira/browse/MINIFICPP-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Gerlits updated MINIFICPP-1475:
--------------------------------------
    Description: 
A simple implementation is enough for now:
 * define a build version string at build time which gets compiled into both 
the minifi executable and all extensions built together with it;
 * when loading a new extension, compare the version strings, and refuse to 
load the extension if they don't match.

EDIT: This strict implementation would prevent us from upgrading extensions, so 
let's not do it.  We will implement a better version of this to track 
compatibility between the Minifi binary and the extensions later.

  was:
A simple implementation is enough for now:
 * define a build version string at build time which gets compiled into both 
the minifi executable and all extensions built together with it;
 * when loading a new extension, compare the version strings, and refuse to 
load the extension if they don't match.


> Verify that core and extension versions match
> ---------------------------------------------
>
>                 Key: MINIFICPP-1475
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1475
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: New Feature
>            Reporter: Ferenc Gerlits
>            Priority: Minor
>
> A simple implementation is enough for now:
>  * define a build version string at build time which gets compiled into both 
> the minifi executable and all extensions built together with it;
>  * when loading a new extension, compare the version strings, and refuse to 
> load the extension if they don't match.
> EDIT: This strict implementation would prevent us from upgrading extensions, 
> so let's not do it.  We will implement a better version of this to track 
> compatibility between the Minifi binary and the extensions later.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to