ci: run e2e matrix against IoTDB 2.0.6 and 2.0.10 - #17
Merged
Conversation
Parameterize the compose files with IOTDB_VERSION (defaults to 2.0.6 for local use) and add a version matrix to both e2e workflows. Artifact names carry the version suffix to avoid upload collisions.
Rows written through redirects land on different DataNodes; with data_replication_factor=2 the last write may not be visible to an immediate query (observed once on the 2.0.10 1C3D matrix job). Poll up to 5x1s before asserting instead of querying once.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extend both e2e workflows to test against IoTDB 2.0.6 and 2.0.10 via a version matrix, instead of 2.0.6 only.
docker-compose-1c1d.yml/docker-compose-1c3d.yml: image tags are now parameterized with${IOTDB_VERSION:-2.0.6}— local usage is unchanged (defaults to 2.0.6), CI injects the matrix version.e2e-1c1d.yml/e2e-1c3d.yml: addedstrategy.matrix.iotdb-version: ["2.0.6", "2.0.10"]withfail-fast: false, so a failure on one server version doesn't cancel the other.Notes
dn_rpc_addressfrom0.0.0.0to127.0.0.1(this broke the Rust client CI in apache/iotdb-client-rust until overridden). The compose files here are not affected: they already setdn_rpc_address=<service-name>explicitly on every DataNode.2.0.10is the latest published-datanode/-confignodeimage tag on Docker Hub at the time of this PR.Test plan
docker compose configresolves image tags correctly with and withoutIOTDB_VERSIONset🤖 Generated with Claude Code