vespa-engine / vespa

AI + Data, online. https://vespa.ai
https://vespa.ai
Apache License 2.0
5.63k stars 589 forks source link

Vespa 9: Support multiple major versions of config def files #8835

Open gjoranv opened 5 years ago

gjoranv commented 5 years ago

The configserver currently only supports config def files for its own major version. It must also support n earlier major versions. This is necessary to allow deploying apps that use config parameters that have been removed on the latest major version.

hmusum commented 2 years ago

We want this when a field is removed on a new major version and someone uses that field in config in services.xml. That will not work unless we fix this.

gjoranv commented 2 years ago
<myapp> deployed with failure:
[...]
com.yahoo.vespa.hosted.controller.api.integration.configserver.ConfigServerException: Failed to prepare application:
Unexpected error building vespa.prod-app.default3: Error parsing element at services > content > config > 
maxNodesDownPerGroup: No such field in definition vespa.config.search.dispatch: maxNodesDownPerGroup