This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a change to branch bench-stress
in repository https://gitbox.apache.org/repos/asf/iggy.git
discard 79170ee42 feat(bench): add stress test with chaos churning
add 8b5a775e6 fix(server): hash passwords before persisting to state log
(#2724)
add 79b04f022 deps(server,sdk): bump compio to 0.18.0 with unified
feature-based imports (#2650)
add 8cb4805db deps: bump workspace dependencies and migrate to rand 0.10
(#2727)
add 005beb8be refactor(server): improve server command handlers (#2669)
add 153cb378c feat(metadata): impl Snapshot interface for Mux state
machine (#2675)
new 0063927c6 feat(bench): add stress test with chaos churning
new 89c27d709 refactor
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (79170ee42)
\
N -- N -- N refs/heads/bench-stress (89c27d709)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Cargo.lock | 993 ++++++++++-------
Cargo.toml | 85 +-
DEPENDENCIES.md | 258 ++---
core/bench/Cargo.toml | 2 +
core/bench/report/src/types/numeric_parameter.rs | 2 +-
core/bench/src/actors/stress/admin_exerciser.rs | 16 +-
.../src/actors/stress/control_plane_churner.rs | 99 +-
core/bench/src/actors/stress/verifier.rs | 157 ++-
core/bench/src/args/kinds/stress/args.rs | 76 +-
.../src/benchmarks/balanced_consumer_group.rs | 6 +-
core/bench/src/benchmarks/balanced_producer.rs | 4 +-
.../balanced_producer_and_consumer_group.rs | 8 +-
core/bench/src/benchmarks/common.rs | 35 +-
.../end_to_end_producing_consumer_group.rs | 4 +-
core/bench/src/benchmarks/mod.rs | 8 +
core/bench/src/benchmarks/pinned_consumer.rs | 4 +-
core/bench/src/benchmarks/pinned_producer.rs | 4 +-
.../src/benchmarks/pinned_producer_and_consumer.rs | 6 +-
core/bench/src/benchmarks/stress.rs | 345 ++++--
core/bench/src/benchmarks/stress_report.rs | 76 +-
core/bench/src/utils/batch_generator.rs | 2 +-
core/bench/src/utils/finish_condition.rs | 35 +-
core/binary_protocol/src/utils/mapper.rs | 3 +-
core/common/Cargo.toml | 3 -
core/common/src/alloc/buffer.rs | 37 +-
core/common/src/sender/mod.rs | 4 +-
core/common/src/sender/quic_sender.rs | 32 +-
core/common/src/sender/tcp_tls_sender.rs | 2 +-
core/common/src/sender/websocket_sender.rs | 12 +-
core/common/src/sender/websocket_tls_sender.rs | 14 +-
.../quic_config/quic_client_config_builder.rs | 6 +
.../tcp_config/tcp_client_config_builder.rs | 6 +
core/connectors/sources/random_source/src/lib.rs | 2 +-
core/consensus/src/vsr_timeout.rs | 2 +-
core/integration/src/harness/handle/server.rs | 2 +-
core/integration/tests/data_integrity/mod.rs | 1 +
.../verify_user_login_after_restart.rs | 65 ++
core/integration/tests/server/mod.rs | 1 +
core/integration/tests/server/purge_delete.rs | 96 ++
.../server/scenarios/delete_segments_scenario.rs | 229 ----
core/integration/tests/server/scenarios/mod.rs | 2 +-
.../server/scenarios/purge_delete_scenario.rs | 1117 ++++++++++++++++++++
core/integration/tests/server/specific.rs | 12 +-
core/metadata/Cargo.toml | 2 +
core/metadata/src/impls/metadata.rs | 55 +
core/metadata/src/stats/mod.rs | 28 +
core/metadata/src/stm/consumer_group.rs | 146 ++-
core/metadata/src/stm/mod.rs | 14 +
core/metadata/src/stm/mux.rs | 126 +++
core/metadata/src/stm/snapshot.rs | 402 +++++++
core/metadata/src/stm/stream.rs | 190 +++-
core/metadata/src/stm/user.rs | 225 +++-
core/sdk/src/clients/client_builder.rs | 34 +
core/server/Cargo.toml | 11 +-
.../create_consumer_group_handler.rs | 105 +-
.../delete_consumer_group_handler.rs | 118 +--
.../consumer_groups/get_consumer_group_handler.rs | 27 +-
.../consumer_groups/get_consumer_groups_handler.rs | 37 +-
.../consumer_groups/join_consumer_group_handler.rs | 66 +-
.../leave_consumer_group_handler.rs | 69 +-
.../delete_consumer_offset_handler.rs | 17 +-
.../get_consumer_offset_handler.rs | 30 +-
.../store_consumer_offset_handler.rs | 12 +-
.../messages/flush_unsaved_buffer_handler.rs | 22 +-
.../handlers/messages/poll_messages_handler.rs | 11 +-
.../handlers/messages/send_messages_handler.rs | 39 +-
.../partitions/create_partitions_handler.rs | 102 +-
.../partitions/delete_partitions_handler.rs | 104 +-
.../create_personal_access_token_handler.rs | 90 +-
.../delete_personal_access_token_handler.rs | 75 +-
.../handlers/segments/delete_segments_handler.rs | 83 +-
.../handlers/streams/create_stream_handler.rs | 76 +-
.../handlers/streams/delete_stream_handler.rs | 72 +-
.../binary/handlers/streams/get_stream_handler.rs | 25 +-
.../binary/handlers/streams/get_streams_handler.rs | 15 +-
.../handlers/streams/purge_stream_handler.rs | 77 +-
.../handlers/streams/update_stream_handler.rs | 69 +-
.../binary/handlers/system/get_stats_handler.rs | 45 +-
.../binary/handlers/topics/create_topic_handler.rs | 129 +--
.../binary/handlers/topics/delete_topic_handler.rs | 99 +-
.../binary/handlers/topics/get_topic_handler.rs | 24 +-
.../binary/handlers/topics/get_topics_handler.rs | 12 +-
.../binary/handlers/topics/purge_topic_handler.rs | 87 +-
.../binary/handlers/topics/update_topic_handler.rs | 102 +-
.../handlers/users/change_password_handler.rs | 95 +-
.../binary/handlers/users/create_user_handler.rs | 97 +-
.../binary/handlers/users/delete_user_handler.rs | 72 +-
.../src/binary/handlers/users/get_user_handler.rs | 17 +-
.../src/binary/handlers/users/get_users_handler.rs | 8 +-
.../handlers/users/update_permissions_handler.rs | 85 +-
.../binary/handlers/users/update_user_handler.rs | 94 +-
core/server/src/binary/mapper.rs | 225 +++-
core/server/src/http/consumer_groups.rs | 186 +---
core/server/src/http/consumer_offsets.rs | 40 +-
core/server/src/http/http_server.rs | 7 +-
core/server/src/http/http_shard_wrapper.rs | 251 ++---
core/server/src/http/messages.rs | 20 +-
core/server/src/http/partitions.rs | 130 +--
core/server/src/http/personal_access_tokens.rs | 77 +-
core/server/src/http/streams.rs | 207 +---
core/server/src/http/topics.rs | 311 +-----
core/server/src/http/users.rs | 238 +----
core/server/src/io/fs_locks.rs | 51 -
core/server/src/io/mod.rs | 1 -
core/server/src/metadata/absorb.rs | 16 -
core/server/src/metadata/mod.rs | 3 +
core/server/src/metadata/ops.rs | 13 +-
core/server/src/metadata/reader.rs | 615 ++++++++++-
core/server/src/metadata/writer.rs | 18 -
core/server/src/quic/listener.rs | 15 +-
core/server/src/quic/quic_server.rs | 4 +-
core/server/src/server_error.rs | 2 +-
core/server/src/shard/builder.rs | 1 -
core/server/src/shard/communication.rs | 105 +-
core/server/src/shard/execution.rs | 705 ++++++++++++
core/server/src/shard/handlers.rs | 785 +++-----------
core/server/src/shard/mod.rs | 105 +-
core/server/src/shard/system/clients.rs | 40 +-
core/server/src/shard/system/consumer_groups.rs | 133 ++-
core/server/src/shard/system/consumer_offsets.rs | 190 +++-
core/server/src/shard/system/messages.rs | 263 +----
core/server/src/shard/system/partitions.rs | 37 +-
.../src/shard/system/personal_access_tokens.rs | 28 +-
core/server/src/shard/system/segments.rs | 417 +++++++-
core/server/src/shard/system/streams.rs | 234 +---
core/server/src/shard/system/topics.rs | 333 ++----
core/server/src/shard/system/users.rs | 36 -
core/server/src/shard/system/utils.rs | 256 +++--
.../src/shard/tasks/continuous/message_pump.rs | 81 +-
.../src/shard/tasks/periodic/message_cleaner.rs | 408 +------
.../src/shard/tasks/periodic/message_saver.rs | 74 +-
core/server/src/shard/transmission/event.rs | 6 +-
core/server/src/shard/transmission/frame.rs | 72 +-
core/server/src/shard/transmission/message.rs | 252 ++---
.../src/streaming/partitions/local_partition.rs | 4 -
.../src/streaming/segments/indexes/index_writer.rs | 6 +-
.../streaming/segments/messages/messages_writer.rs | 6 +-
core/server/src/streaming/utils/crypto.rs | 2 +-
core/server/src/tcp/tcp_listener.rs | 6 +-
core/server/src/tcp/tcp_tls_listener.rs | 8 +-
core/server/src/websocket/websocket_listener.rs | 9 +-
.../server/src/websocket/websocket_tls_listener.rs | 11 +-
core/tools/src/data-seeder/seeder.rs | 2 +-
examples/rust/src/shared/messages_generator.rs | 2 +-
examples/rust/src/sink-data-producer/main.rs | 2 +-
145 files changed, 7828 insertions(+), 6634 deletions(-)
create mode 100644
core/integration/tests/data_integrity/verify_user_login_after_restart.rs
create mode 100644 core/integration/tests/server/purge_delete.rs
delete mode 100644
core/integration/tests/server/scenarios/delete_segments_scenario.rs
create mode 100644
core/integration/tests/server/scenarios/purge_delete_scenario.rs
create mode 100644 core/metadata/src/stm/snapshot.rs
delete mode 100644 core/server/src/io/fs_locks.rs
create mode 100644 core/server/src/shard/execution.rs