Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to backwards compatibility post #478

Merged
merged 1 commit into from
Nov 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion _posts/2021-11-05-bwc-testing-for-opensearch.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ twittercard:

Backwards Compatibility (BWC) testing is used to test and determine the safe upgrade paths from a supported BWC version to the current version. The framework in OpenSearch allows you to run these BWC tests for all supported BWC versions in OpenSearch allowing safe upgrade paths between versions. This framework is now extended to work for plugins which can introduce their BWC tests without creating individual frameworks of their own. This post provides details on the framework in OpenSearch for backwards compatibility.

OpenSearch 1.1.0 was tested with versions 7.10.2 and 1.0.0 for backwards compatibility using the framework described in this post.

## The Framework

As a general idea for BWC tests, the framework supports spinning up a test cluster with a supported BWC version, then upgrade the nodes to the current version and test various features and functionalities as a result of the upgrade. This allows for testing the compatibility of the code between versions.
Expand Down Expand Up @@ -91,4 +93,4 @@ Backwards compatibility especially for plugins has been a major concern during r

For more information on BWC testing, please check out [OpenSearch/TESTING.md](https://github.com/opensearch-project/OpenSearch/blob/f54cc382d53f76b4edefc919cc69192dee456b33/TESTING.md#testing-backwards-compatibility) and [opensearch-plugins/TESTING.md](https://github.com/opensearch-project/opensearch-plugins/blob/b606c9e17163311ce2dee05a7a5d6f557e5fc197/TESTING.md#backwards-compatibility-testing).

Closing on a high note, we hope this blog post adds light to the backwards compatibility framework and we are continuing to invest efforts in automating backwards compatibility for OpenSearch. Please refer to [opensearch-project/opensearch-build#90](https://github.com/opensearch-project/opensearch-build/issues/90) for the next steps.
Closing on a high note, we hope this blog post adds light to the backwards compatibility framework and we are continuing to invest efforts in automating backwards compatibility for OpenSearch. The release automation currently built as part of [opensearch-project/opensearch-build#90](https://github.com/opensearch-project/opensearch-build/issues/90) runs the bwc tests for OpenSearch as part of the release process. Going further, we are working to add bwc tests for all plugins ([opensearch-project/opensearch-plugins#77](https://github.com/opensearch-project/opensearch-plugins/issues/77)), automate running the plugin bwc tests and run bwc tests for the bundle as part of the release process. Please refer to [opensearch-project/opensearch-build#90](https://github.com/opensearch-project/opensearch-build/issues/90) for the next steps.