Commit Graph

6 Commits

Author SHA1 Message Date
Tanguy Leroux 8a56518034
[CI] Reenable N-2 BWC tests for non-snapshot builds (#125296)
We can reenable those tests for `release-test`, now the
code exist in 8.18, 8.x and 9.0 branches.

Closes #119550
2025-03-21 10:18:10 +01:00
Rene Groeschke 496c38e5a5
Reapply "Update Gradle wrapper to 8.13 (#122421)" (#123889) (#123896)
This reverts commit 36660f2e5f.
2025-03-05 08:02:13 +01:00
Rene Groeschke 36660f2e5f
Revert "Update Gradle wrapper to 8.13 (#122421)" (#123889)
This reverts commit e19b2264af.
2025-03-03 15:51:07 +01:00
Rene Groeschke e19b2264af
Update Gradle wrapper to 8.13 (#122421)
* Fix Gradle Deprecation warning as declaring an is- property with a Boolean type has been deprecated.
* Make use of new layout.settingsFolder api to address some cross project references
* Fix buildParams snapshot check for multiprojet projects
2025-03-03 14:10:00 +01:00
Tanguy Leroux 447dcaad0e
Disable N-2 BWC tests for non-snapshot builds (#119583)
The tests added in #119468 do not work when executed in the
`release-test` pipeline: at some point a 9.0 non-snapshot node tries to
join the 8.18.0-SNAPSHOT cluster which is impossible due to a missing
`esql.metrics_syntax` feature which is only declared in snapshot builds.

Additionaly, the tests rely on unrelease code in 8.x so they won't work
until 8.18.0 is released.

I don't know how we deal with such issues today, but I'd like to unmute
the tests so that they are executed on CI while being disabled in
`release-test`.

Releates #119550
2025-01-08 22:37:29 +11:00
Tanguy Leroux e0ad97e8d5
Add QA test module for Lucene N-2 version (#118363)
This change introduces a new QA project to test Lucene 
support for reading indices created in version N-2.

The test suite is inspired from the various full-cluster 
restart suites we already have. It creates a cluster in 
version N-2 (today 7.17.25), then upgrades the cluster 
to N-1 (today 8.18.0) and finally upgrades the cluster 
to the current version (today 9.0), allowing to execute 
test methods after every upgrade.

The test suite has two variants: one for searchable 
snapshots and one for snapshot restore. The suites 
demonstrates that Elasticsearch does not allow 
reading indices written in version N-2 but we hope 
to make this feasible. Also, the tests can be used for 
investigation and debug with the command 
`./gradlew ":qa:lucene-index-compatibility:check" --debug-jvm-server`

Relates ES-10274
2024-12-11 17:03:52 +01:00