You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by gk...@apache.org on 2025/08/05 14:41:15 UTC

(iggy) branch io_uring_tpc updated: feat(io_uring): disable validations for new architecture (#2081)

This is an automated email from the ASF dual-hosted git repository.

gkoszyk pushed a commit to branch io_uring_tpc
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/io_uring_tpc by this push:
     new d68c232f feat(io_uring): disable validations for new architecture (#2081)
d68c232f is described below

commit d68c232fde1fcd560548c7c06ab6e9aee9d86399
Author: Grzegorz Koszyk <11...@users.noreply.github.com>
AuthorDate: Tue Aug 5 16:41:11 2025 +0200

    feat(io_uring): disable validations for new architecture (#2081)
---
 core/server/src/shard/system/consumer_groups.rs | 2 +-
 core/server/src/shard/system/topics.rs          | 4 ++--
 core/server/src/shard/system/utils.rs           | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/server/src/shard/system/consumer_groups.rs b/core/server/src/shard/system/consumer_groups.rs
index 7f11aee1..79ea516e 100644
--- a/core/server/src/shard/system/consumer_groups.rs
+++ b/core/server/src/shard/system/consumer_groups.rs
@@ -227,7 +227,7 @@ impl IggyShard {
         group_id: &Identifier,
     ) -> Result<consumer_group2::ConsumerGroup, IggyError> {
         self.ensure_authenticated(session)?;
-        self.ensure_consumer_group_exists(stream_id, topic_id, group_id)?;
+        //self.ensure_consumer_group_exists(stream_id, topic_id, group_id)?;
         {
             let topic_id = self
                 .streams2
diff --git a/core/server/src/shard/system/topics.rs b/core/server/src/shard/system/topics.rs
index 5e45b8fa..da411296 100644
--- a/core/server/src/shard/system/topics.rs
+++ b/core/server/src/shard/system/topics.rs
@@ -154,7 +154,7 @@ impl IggyShard {
         stats: Arc<TopicStats>,
     ) -> Result<usize, IggyError> {
         self.ensure_authenticated(session)?;
-        self.ensure_stream_exists(stream_id)?;
+        //self.ensure_stream_exists(stream_id)?;
         {
             let stream_id = self
                 .streams2
@@ -392,7 +392,7 @@ impl IggyShard {
         replication_factor: Option<u8>,
     ) -> Result<(), IggyError> {
         self.ensure_authenticated(session)?;
-        self.ensure_topic_exists(stream_id, topic_id)?;
+        //self.ensure_topic_exists(stream_id, topic_id)?;
         {
             let topic_id = self
                 .streams2
diff --git a/core/server/src/shard/system/utils.rs b/core/server/src/shard/system/utils.rs
index 3efdcabb..6ad3b224 100644
--- a/core/server/src/shard/system/utils.rs
+++ b/core/server/src/shard/system/utils.rs
@@ -15,7 +15,7 @@ impl IggyShard {
         stream_id: &Identifier,
         topic_id: &Identifier,
     ) -> Result<(), IggyError> {
-        self.ensure_stream_exists(stream_id)?;
+        //self.ensure_stream_exists(stream_id)?;
         let exists = self
             .streams2
             .with_stream_by_id(stream_id, |stream| stream.topics().exists(topic_id));
@@ -31,8 +31,8 @@ impl IggyShard {
         topic_id: &Identifier,
         group_id: &Identifier,
     ) -> Result<(), IggyError> {
-        self.ensure_stream_exists(stream_id)?;
-        self.ensure_topic_exists(stream_id, topic_id)?;
+        //self.ensure_stream_exists(stream_id)?;
+        //self.ensure_topic_exists(stream_id, topic_id)?;
         let exists = self
             .streams2
             .with_topic_by_id(stream_id, topic_id, |topic| {