Search Guard 2 compatibility

Hi,

I would like to know that why Search Guard 2 is not backward compatible for even minor versions of Elasticsearch? Can you point some insights on it to understand better? What are the dependency out there that SG-2 cannot work with minor version changed ES?

Search Guard should consider it to support for at least minor versions of ES for backward compatible. Anyone has idea, when is Search Guard roll out a stable release for production deployment?

Regards,

Ashu

Hi Ashu,

that’s an Elasticsearch limitation. You have to state the ES version the plugin is compiled against in the plugin’s descriptor file. Unfortunately, you cannot use wildcards or something similar. So, even if SG is code-compatible with a minor version upgrade of ES, we still have to change the descriptor file and provide a dedicated release.

You can find more infos about this topic directly from ES:

https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html

Especially:

"Plugin release lifecycle

You will have to release a new version of the plugin for each new elasticsearch release. This version is checked when the plugin is loaded so Elasticsearch will refuse to start in the presence of plugins with the incorrect elasticsearch.version."

So, there’s nothing we can do about this from our side. Besides that, we need to test the plugin for each ES version before we release it. And last but not least, sometimes there are breaking changes even in minor version upgrades of ES.

Thanks,

Jochen

CTO

floragunn UG

···

Am Mittwoch, 1. Juni 2016 19:30:10 UTC+2 schrieb Ashu:

Hi,

I would like to know that why Search Guard 2 is not backward compatible for even minor versions of Elasticsearch? Can you point some insights on it to understand better? What are the dependency out there that SG-2 cannot work with minor version changed ES?

Search Guard should consider it to support for at least minor versions of ES for backward compatible. Anyone has idea, when is Search Guard roll out a stable release for production deployment?

Regards,

Ashu

Thank you Jochen for your response and information shared!

It has really helped me, now I understand the dependency of Elasticsearch which is applicable to all available plugins. So, you need to put extra efforts to make your release in sync with Elasticsearch release even for minor version.

Thank you once again…:slight_smile:

Regards,

Ashu

···

On Wednesday, June 1, 2016 at 4:01:52 PM UTC-4, Jochen Kressin wrote:

Hi Ashu,

that’s an Elasticsearch limitation. You have to state the ES version the plugin is compiled against in the plugin’s descriptor file. Unfortunately, you cannot use wildcards or something similar. So, even if SG is code-compatible with a minor version upgrade of ES, we still have to change the descriptor file and provide a dedicated release.

You can find more infos about this topic directly from ES:

https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html

Especially:

"Plugin release lifecycle

You will have to release a new version of the plugin for each new elasticsearch release. This version is checked when the plugin is loaded so Elasticsearch will refuse to start in the presence of plugins with the incorrect elasticsearch.version."

So, there’s nothing we can do about this from our side. Besides that, we need to test the plugin for each ES version before we release it. And last but not least, sometimes there are breaking changes even in minor version upgrades of ES.

Thanks,

Jochen

CTO

floragunn UG

Am Mittwoch, 1. Juni 2016 19:30:10 UTC+2 schrieb Ashu:

Hi,

I would like to know that why Search Guard 2 is not backward compatible for even minor versions of Elasticsearch? Can you point some insights on it to understand better? What are the dependency out there that SG-2 cannot work with minor version changed ES?

Search Guard should consider it to support for at least minor versions of ES for backward compatible. Anyone has idea, when is Search Guard roll out a stable release for production deployment?

Regards,

Ashu