Skip to content

[CORE-9880]: Preperation for Topic Identifiers#27249

Merged
BenPope merged 12 commits intoredpanda-data:devfrom
BenPope:core-9880/kafka_fetch_v13_prep
Aug 15, 2025
Merged

[CORE-9880]: Preperation for Topic Identifiers#27249
BenPope merged 12 commits intoredpanda-data:devfrom
BenPope:core-9880/kafka_fetch_v13_prep

Conversation

@BenPope
Copy link
Copy Markdown
Member

@BenPope BenPope commented Aug 14, 2025

Updates and rebase of some of the commits in: #26968

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v25.2.x
  • v25.1.x
  • v24.3.x

Release Notes

  • none

Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

CI test results

test results on build#70811
test_class test_method test_arguments test_kind job_url test_status passed reason
DataMigrationsApiTest test_creating_and_listing_migrations null integration https://buildkite.com/redpanda/redpanda/builds/70811#0198a9aa-a89a-4a87-8bee-4ba7bb739abd FLAKY 20/21 upstream reliability is '99.74489795918367'. current run reliability is '95.23809523809523'. drift is 4.5068 and the allowed drift is set to 50. The test should PASS

@BenPope
Copy link
Copy Markdown
Member Author

BenPope commented Aug 14, 2025

That test wasn't supposed to fail, this PR makes no functional changes.

pgellert
pgellert previously approved these changes Aug 15, 2025
Copy link
Copy Markdown
Contributor

@pgellert pgellert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'm approving because none of my comments are blocking, but it would be good to get them addressed either in this PR or carried over to a subsequent PR.

Comment on lines +57 to +65
const auto no_id = topic_id{};
if (lhs._id == no_id || rhs._id == no_id) {
return lhs._tp_view == rhs._tp_view;
}
return std::tie(lhs._id, lhs._tp_view)
== std::tie(rhs._id, rhs._tp_view);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not yet clear to me if this is the specific behaviour we want in all of the uses cases of a topic id + ntp pair. It very well might be, so I'm happy to merge this as is. I am just making a mental note here that I should pay attention to kitp comparisons in later commits/PRs to confirm that this behaviour makes sense in all of the use cases.

BenPope added 10 commits August 15, 2025 15:04
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Prefer `uuid_t` and `model::topic_id`.

Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
@BenPope
Copy link
Copy Markdown
Member Author

BenPope commented Aug 15, 2025

changes in force-push

  • model/kitp
    • Now inherits (privatelt) from ktp.
    • Improved docs
  • cluster/topic_table
    • Assert inconsistency
  • Metadata schema v12
    • Prefer static_assert over a comment

@BenPope BenPope requested a review from pgellert August 15, 2025 14:28
@BenPope BenPope enabled auto-merge August 15, 2025 15:22
@BenPope BenPope merged commit e5eee68 into redpanda-data:dev Aug 15, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants