This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a change to branch fix/server-logging-config
in repository https://gitbox.apache.org/repos/asf/iggy.git
omit 7f760c2b6 fix(server): make logging honor retention, level, path and
file_enabled
add 3a00b5ba1 feat(swift): add the domain models and their wire encodings
(#4335)
add cf4cccac0 chore: add connector-review skill (#4121)
add bb1ef105e fix(connectors): propagate inner error messages in
RuntimeError (#4342)
add 632b5f24b chore(deps): Bump the github-actions group with 2 updates
(#4353)
add 5c09a0580 chore(deps): Bump the java group across 3 directories with 7
updates (#4352)
add 282b5af18 feat(server): guard against running out of file descriptors
(#4318)
add ff12175c7 fix(server): make logging honor retention, level, path and
file_enabled
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 (7f760c2b6)
\
N -- N -- N refs/heads/fix/server-logging-config (ff12175c7)
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.
No new revisions were added by this update.
Summary of changes:
.../{team-review => connector-review}/SKILL.md | 175 +++---
.github/actions/go/pre-merge/action.yml | 6 +-
.github/workflows/_common.yml | 4 +-
.github/workflows/_test_examples.yml | 2 +-
.github/workflows/coverage-baseline.yml | 6 +-
.github/workflows/post-merge.yml | 2 +-
.pre-commit-config.yaml | 6 +-
AGENTS.md | 1 +
bdd/java/build.gradle.kts | 4 +-
.../src/responses/system/get_stats.rs | 46 +-
core/cli/src/commands/binary_system/stats.rs | 10 +
core/common/src/error/iggy_error.rs | 10 +
core/common/src/traits/partition_client.rs | 5 +
core/common/src/traits/topic_client.rs | 5 +
core/common/src/types/stats/mod.rs | 11 +
core/common/src/wire_conversions.rs | 2 +
core/configs/src/common/defaults.rs | 11 +
core/configs/src/common/displays.rs | 5 +-
core/configs/src/common/system.rs | 5 +
core/configs/src/common/validators.rs | 34 ++
core/configs/src/server_config/defaults.rs | 2 +
core/configs/src/server_config/displays.rs | 13 +-
core/configs/src/server_config/message_bus.rs | 11 +
core/configs/src/server_config/metadata.rs | 25 +-
core/configs/src/server_config/server.rs | 21 +
core/connectors/runtime/src/error.rs | 50 +-
core/consensus/src/fatal.rs | 60 --
core/consensus/src/impls.rs | 23 +-
core/consensus/src/lib.rs | 3 +-
core/integration/src/harness/handle/server.rs | 64 ++-
.../tests/cli/system/test_stats_command.rs | 22 +-
.../tests/connectors/runtime/error_isolation.rs | 48 +-
.../sink_missing_stream.toml} | 2 +-
.../stdout_missing_stream.toml} | 14 +-
.../stdout_valid.toml | 0
.../tests/server/connections_limit_vsr.rs | 115 ++++
.../tests/server/descriptor_exhaustion_vsr.rs | 271 +++++++++
core/integration/tests/server/mod.rs | 5 +
.../tests/server/partition_view_durability_vsr.rs | 8 +-
.../tests/server/partitions_limit_vsr.rs | 121 ++++
core/integration/tests/server/stats_vsr.rs | 26 +-
core/journal/src/durable_storage.rs | 21 +-
core/journal/src/file_storage.rs | 15 +-
core/journal/src/partition_journal.rs | 8 +-
core/journal/src/prepare_journal.rs | 302 ++++++----
core/journal/src/superblock.rs | 16 +-
core/message_bus/src/accept.rs | 89 +++
core/message_bus/src/client_listener/mod.rs | 4 +-
core/message_bus/src/client_listener/tcp.rs | 2 +
core/message_bus/src/client_listener/tcp_tls.rs | 2 +
core/message_bus/src/client_listener/ws.rs | 2 +
core/message_bus/src/client_listener/wss.rs | 2 +
core/message_bus/src/connection_cap.rs | 162 ++++++
core/message_bus/src/installer/mod.rs | 51 +-
core/message_bus/src/installer/quic.rs | 1 +
core/message_bus/src/installer/tcp.rs | 18 +-
core/message_bus/src/installer/tcp_tls.rs | 4 +-
core/message_bus/src/installer/ws.rs | 4 +-
core/message_bus/src/installer/wss.rs | 4 +-
core/message_bus/src/lib.rs | 3 +
core/message_bus/src/replica/listener.rs | 8 +-
core/message_bus/tests/common/mod.rs | 18 +-
core/message_bus/tests/connection_cap.rs | 100 ++++
core/message_bus/tests/duplicate_client_id.rs | 8 +-
core/message_bus/tests/installer_panic_cleanup.rs | 3 +
core/metadata/src/impls/metadata.rs | 403 ++++++++++++-
core/metadata/src/stm/authz.rs | 52 +-
core/metadata/src/stm/stream.rs | 14 +
core/partitions/src/iggy_index_reader.rs | 11 +-
core/partitions/src/iggy_index_writer.rs | 2 +
core/partitions/src/iggy_partition.rs | 104 +++-
core/partitions/src/install_backup.rs | 15 +-
core/partitions/src/messages_writer.rs | 2 +
core/partitions/src/offset_recovery.rs | 128 ++++-
core/partitions/src/offset_storage.rs | 11 +-
core/partitions/src/partition_storage.rs | 39 +-
core/partitions/src/segment_anchor.rs | 5 +-
core/partitions/src/segment_recovery.rs | 177 ++++--
core/partitions/src/state_transfer.rs | 87 ++-
core/server/config.toml | 27 +
core/server/src/boot/fd_limit.rs | 204 +++++++
core/server/src/boot/listeners.rs | 45 +-
core/server/src/boot/mod.rs | 36 +-
core/server/src/boot/threads.rs | 2 +
core/server/src/consumer_group.rs | 4 +-
core/server/src/dispatch/host.rs | 3 +
core/server/src/dispatch/reads.rs | 2 +-
core/server/src/dispatch/test_support.rs | 17 +-
core/server/src/http.rs | 74 ++-
core/server/src/http/extractor.rs | 2 +-
core/server/src/http/handlers.rs | 2 +-
core/server/src/http/reads.rs | 3 +-
core/server/src/http/tls.rs | 50 +-
core/server/src/lib.rs | 1 +
core/server/src/main.rs | 35 +-
core/server/src/partition_helpers.rs | 12 +
core/server/src/responses.rs | 2 +
core/server/src/session_manager.rs | 9 +
core/server/src/sysinfo_printer.rs | 208 +++++++
core/server/src/sysinfo_probe.rs | 134 ++++-
core/server_common/src/fatal.rs | 237 ++++++++
core/server_common/src/lib.rs | 5 +-
.../src/segment_storage/index_reader.rs | 26 +-
.../src/segment_storage/index_writer.rs | 103 ----
.../src/segment_storage/messages_reader.rs | 4 +
.../src/segment_storage/messages_writer.rs | 120 ----
core/server_common/src/segment_storage/mod.rs | 122 ++--
core/shard/src/coordinator.rs | 73 ++-
core/shard/src/lib.rs | 54 +-
core/shard/src/router.rs | 34 +-
core/simulator/src/bus.rs | 15 +-
core/simulator/src/lib.rs | 10 +-
core/system_stats/src/lib.rs | 86 ++-
examples/java/build.gradle.kts | 4 +-
foreign/cpp/include/iggy.hpp | 22 +-
foreign/cpp/src/lib.rs | 4 +
foreign/cpp/src/type_conversion.rs | 2 +
foreign/cpp/src/type_conversions.cpp | 3 +-
foreign/cpp/tests/e2e/client.cpp | 2 +
.../Iggy_SDK.Tests.Integration/SystemTests.cs | 1 +
foreign/csharp/Iggy_SDK/Contracts/StatsResponse.cs | 10 +
foreign/csharp/Iggy_SDK/Mappers/BinaryMapper.cs | 22 +-
.../Iggy_SDK_Tests/MapperTests/BinaryMapper.cs | 28 +
.../csharp/Iggy_SDK_Tests/Utils/BinaryFactory.cs | 67 ++-
.../Iggy_SDK_Tests/Utils/Stats/StatsFactory.cs | 7 +-
foreign/go/contracts/stats.go | 8 +
foreign/go/contracts/stats_test.go | 39 +-
foreign/go/errors/errors.yaml | 4 +
foreign/go/errors/errors_gen.go | 17 +
foreign/java/gradle/libs.versions.toml | 8 +-
.../org/apache/iggy/exception/IggyErrorCode.java | 1 +
.../org/apache/iggy/serde/BytesDeserializer.java | 17 +-
.../main/java/org/apache/iggy/system/Stats.java | 9 +-
.../iggy/client/blocking/SystemClientBaseTest.java | 2 +
.../client/blocking/http/ObjectMapperTest.java | 51 +-
.../apache/iggy/exception/IggyErrorCodeTest.java | 1 +
.../apache/iggy/serde/BytesDeserializerTest.java | 41 ++
foreign/node/src/e2e/tcp.parallel.e2e.ts | 5 +-
foreign/node/src/e2e/tcp.system.e2e.ts | 5 +-
foreign/node/src/wire/error.code.test.ts | 4 +
foreign/node/src/wire/error.code.ts | 1 +
.../node/src/wire/system/get-stats.command.test.ts | 127 +++++
foreign/node/src/wire/system/get-stats.command.ts | 127 +++--
foreign/python/apache_iggy.pyi | 16 +
foreign/python/src/stats.rs | 20 +
foreign/python/tests/test_stats.py | 4 +
foreign/swift/README.md | 8 +-
.../swift/Sources/Iggy/Errors/IggyErrorCode.swift | 2 +
foreign/swift/Sources/Iggy/Models/Identifier.swift | 118 ++++
.../swift/Sources/Iggy/Models/IggyMessage.swift | 223 ++++++++
foreign/swift/Sources/Iggy/Models/Messaging.swift | 241 ++++++++
.../swift/Sources/Iggy/Models/Permissions.swift | 186 ++++++
.../Sources/Iggy/Models/ResourceOptions.swift | 168 ++++++
foreign/swift/Sources/Iggy/Models/Resources.swift | 634 +++++++++++++++++++++
.../swift/Sources/Iggy/Models/TopicOptions.swift | 206 +++++++
.../swift/Sources/Iggy/Models/UserHeaders.swift | 427 ++++++++++++++
foreign/swift/Sources/Iggy/Wire/ByteCodec.swift | 7 +
foreign/swift/Tests/IggyTests/ErrorCodeTests.swift | 1 +
foreign/swift/Tests/IggyTests/Fixtures/golden.json | 5 +-
foreign/swift/Tests/IggyTests/ModelTests.swift | 379 ++++++++++++
.../swift/Tests/IggyTests/ModelVectorTests.swift | 116 ++++
.../Tests/IggyTests/Support/GoldenFixture.swift | 32 ++
foreign/swift/Tools/golden-vectors/src/main.rs | 9 +-
gateways/kafka/README.md | 11 +-
gateways/kafka/src/bridge/error.rs | 14 +-
.../kafka/src/protocol/handlers/create_topics.rs | 17 +-
166 files changed, 7426 insertions(+), 969 deletions(-)
copy .claude/skills/{team-review => connector-review}/SKILL.md (50%)
delete mode 100644 core/consensus/src/fatal.rs
copy core/integration/tests/connectors/{iceberg/sink_default_credentials.toml
=> runtime/sink_missing_stream.toml} (92%)
copy
core/integration/tests/connectors/runtime/{sink_invalid_config/stdout_valid.toml
=> sink_missing_stream_config/stdout_missing_stream.toml} (75%)
copy core/integration/tests/connectors/runtime/{sink_invalid_config =>
sink_missing_stream_config}/stdout_valid.toml (100%)
create mode 100644 core/integration/tests/server/connections_limit_vsr.rs
create mode 100644 core/integration/tests/server/descriptor_exhaustion_vsr.rs
create mode 100644 core/integration/tests/server/partitions_limit_vsr.rs
create mode 100644 core/message_bus/src/accept.rs
create mode 100644 core/message_bus/src/connection_cap.rs
create mode 100644 core/message_bus/tests/connection_cap.rs
create mode 100644 core/server/src/boot/fd_limit.rs
create mode 100644 core/server/src/sysinfo_printer.rs
create mode 100644 core/server_common/src/fatal.rs
delete mode 100644 core/server_common/src/segment_storage/index_writer.rs
delete mode 100644 core/server_common/src/segment_storage/messages_writer.rs
create mode 100644 foreign/node/src/wire/system/get-stats.command.test.ts
create mode 100644 foreign/swift/Sources/Iggy/Models/Identifier.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/IggyMessage.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/Messaging.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/Permissions.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/ResourceOptions.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/Resources.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/TopicOptions.swift
create mode 100644 foreign/swift/Sources/Iggy/Models/UserHeaders.swift
create mode 100644 foreign/swift/Tests/IggyTests/ModelTests.swift
create mode 100644 foreign/swift/Tests/IggyTests/ModelVectorTests.swift