JackieTien97 opened a new pull request, #18958:
URL: https://github.com/apache/iotdb/pull/18958
## Description
The omitted-seed recovery IT stopped two members of a three-replica Ratis
cluster. This also removed the quorum needed by editions whose login path
queries persisted password history, so reconnection could fail before
exercising the recovery query.
Keep DN2 running while excluding it from the clients' initial snapshots and
seed lists. Start both suppliers with the stale snapshot `[DN1]` and seeds
`[DN0, DN1]`, recover DN0, and stop only DN1. Assert that the business
connection falls back to DN0, both suppliers discover `{DN0, DN2}`, and their
original seeds remain unchanged. Probe the recovered seed with a separate
session and allow 30-second connection timeouts for login and election work.
## Validation
- Passed a clean reactor verification on Apache IoTDB with `ClusterIT`:
`SessionSeedNodeFallbackIT` ran both methods with 0 failures, 0 errors, and 0
skips.
- Passed full-reactor English test compilation with the integration-test
module enabled.
- Passed full-reactor Chinese test compilation with the integration-test
module enabled.
- TimechoDB execution has not been performed locally.
Commands:
```bash
mvn clean verify -DskipUTs -Dit.test=SessionSeedNodeFallbackIT \
-DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test -am -PClusterIT -Pwith-integration-tests
mvn test-compile -DskipTests -Pwith-integration-tests
mvn test-compile -DskipTests -Pwith-integration-tests,with-zh-locale
```
This PR has:
- [x] been self-reviewed.
- [x] added comments explaining the test preconditions.
- [x] modified the existing integration test.
- [x] been tested in a three-DataNode IoTDB cluster.
Key changed class: `SessionSeedNodeFallbackIT`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]