Nikolay Izhikov created IGNITE-29345:
----------------------------------------
Summary: RU/RD integration tests under user load
Key: IGNITE-29345
URL: https://issues.apache.org/jira/browse/IGNITE-29345
Project: Ignite
Issue Type: Sub-task
Reporter: Nikolay Izhikov
h3. RU scenario
# Start a cluster of version X. Cluster kinds: in-memory, PDS, mixed.
#* Start client nodes of version X.
#* Start a thin client of version X.
#* Start the user load (see the API list below).
#* {{operation_timeout << upgrade_timeout}}: the period between operations is
shorter than the upgrade period. Each user API must be executed at least once
on every transitional topology.
# Begin the RU process to version Y (X < Y).
#* Start client nodes of version Y.
#* Start a thin client of version Y.
#* Start the user load from them.
# Upgrade the server nodes from version X to version Y one by one, with the
{{upgrade_timeout}} interval.
#* By a flag, replace the next server node after the rebalance finishes instead
of by timeout. Different rebalance modes must be covered: full, historical, etc.
# When all nodes are replaced, stop the client nodes of version X.
# Finish the RU.
# Check that the user API calls produced no errors during the test.
h3. RD scenario
Same as the RU scenario, but after half of the server nodes are upgraded to
version Y the rollback begins:
# Roll the upgraded nodes back to version X one by one.
# Finish the RU process with a rollback, so that version X stays the cluster
version.
h3. User API to check
h4. Runs for the whole duration of the test
* Event listener on client X/Y.
* Continuous query on client X/Y.
h4. Executed once per operation_timeout, regardless of the cluster topology
* Client node / thin client cache API: get/put/remove, with and without an
explicit transaction, with and without {{withKeepBinary}}.
* Client node / thin client queries: SQL (H2/Calcite), Scan, Index, Text.
** The set of queries must be extended with each release: new queries must NOT
work until the RU is finished, old ones must work correctly.
* Client node / thin client compute tasks.
* Client node / thin client Java/.NET service method invocation.
h4. Executed once on each cluster composition
* Client node / thin client Java/.NET service deploy/undeploy.
* Client node / thin client cache create/destroy.
* Client node / thin client / control.sh cluster activation/deactivation.
* Node X restart.
* Node Y restart.
* control.sh snapshot/dump create.
* control.sh idle_verify.
* control.sh read_repair.
* control.sh new commands: commands added in version Y are run and fail with
the error "Not all nodes support the command".
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)