Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datalake/coordinator: introduce table_commit_builder #24855

Merged

Conversation

nvartolomei
Copy link
Contributor

@nvartolomei nvartolomei commented Jan 17, 2025

Refactor the iceberg file committer so that it is easier to extend to manage multiple tables (i.e. main table and the DLQ table).

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
  • v24.3.x
  • v24.2.x
  • v24.1.x

Release Notes

  • none

src/v/datalake/translation_task.cc Show resolved Hide resolved
src/v/datalake/translation_task.cc Show resolved Hide resolved
src/v/datalake/coordinator/iceberg_file_committer.cc Outdated Show resolved Hide resolved
src/v/datalake/coordinator/iceberg_file_committer.cc Outdated Show resolved Hide resolved
src/v/datalake/coordinator/iceberg_file_committer.cc Outdated Show resolved Hide resolved
src/v/datalake/coordinator/iceberg_file_committer.cc Outdated Show resolved Hide resolved
src/v/datalake/coordinator/iceberg_file_committer.cc Outdated Show resolved Hide resolved
@vbotbuildovich
Copy link
Collaborator

vbotbuildovich commented Jan 17, 2025

CI test results

test results on build#60913
test_id test_kind job_url test_status passed
rptest.tests.partition_reassignments_test.PartitionReassignmentsTest.test_reassignments_kafka_cli ducktape https://buildkite.com/redpanda/redpanda/builds/60913#0194755a-de23-41d2-9408-03f0fbf40586 FLAKY 1/3
rptest.tests.partition_reassignments_test.PartitionReassignmentsTest.test_reassignments_kafka_cli ducktape https://buildkite.com/redpanda/redpanda/builds/60913#0194755d-84d4-49c2-be7f-a2ecbfbf2d57 FLAKY 1/3
test_archiver_manager_smp_rpfixture.test_archiver_manager_smp_rpfixture unit https://buildkite.com/redpanda/redpanda/builds/60913#01947516-78fc-4e70-88e4-639797670a65 FLAKY 1/2
test results on build#60960
test_id test_kind job_url test_status passed
rptest.tests.audit_log_test.AuditLogTestsAppLifecycle.test_recovery_mode ducktape https://buildkite.com/redpanda/redpanda/builds/60960#019484dd-a61a-4329-acdf-27907d4a9910 FLAKY 1/2
rptest.tests.compaction_recovery_test.CompactionRecoveryUpgradeTest.test_index_recovery_after_upgrade ducktape https://buildkite.com/redpanda/redpanda/builds/60960#019484c3-06ff-4531-9e40-05c4953e23f7 FLAKY 1/2
rptest.tests.compaction_recovery_test.CompactionRecoveryUpgradeTest.test_index_recovery_after_upgrade ducktape https://buildkite.com/redpanda/redpanda/builds/60960#019484dd-a61b-4791-8dbb-624525b37148 FLAKY 1/2
rptest.tests.crl_test.CertificateRevocationTest.test_rpc ducktape https://buildkite.com/redpanda/redpanda/builds/60960#019484c3-0700-4763-a218-d5a9b8b8ff25 FAIL 0/20
rptest.tests.partition_move_interruption_test.PartitionMoveInterruption.test_cancelling_partition_move.replication_factor=3.unclean_abort=True.recovery=restart_recovery.compacted=False ducktape https://buildkite.com/redpanda/redpanda/builds/60960#019484c3-06ff-4531-9e40-05c4953e23f7 FLAKY 1/2

@nvartolomei
Copy link
Contributor Author

nvartolomei commented Jan 18, 2025 via email

Simpler code. Simpler to reuse from other functions.
Want to reuse it for DLQ files.
commit_topic_files_to_catalog is too unwieldy. Simplify it before adding
DLQ logic.
@nvartolomei nvartolomei force-pushed the nv/datalake-file-committer-refactor branch from 3849b89 to df5c182 Compare January 20, 2025 16:11
Refactor the iceberg file committer so that it is _easier_ to extend to
manage multiple tables (i.e. main table and the DLQ table).
@nvartolomei nvartolomei force-pushed the nv/datalake-file-committer-refactor branch 2 times, most recently from db6d3fe to 3f0e068 Compare January 20, 2025 16:14
@nvartolomei nvartolomei changed the title datalake/coordinator: introduce table_committer datalake/coordinator: introduce table_commit_builder Jan 20, 2025
@nvartolomei nvartolomei requested a review from andrwng January 20, 2025 16:15
@vbotbuildovich
Copy link
Collaborator

Retry command for Build#60960

please wait until all jobs are finished before running the slash command

/ci-repeat 1
tests/rptest/tests/crl_test.py::CertificateRevocationTest.test_rpc

@nvartolomei
Copy link
Contributor Author

/ci-repeat 1
tests/rptest/tests/crl_test.py::CertificateRevocationTest.test_rpc

@nvartolomei nvartolomei merged commit 198a96a into redpanda-data:dev Jan 22, 2025
18 checks passed
@nvartolomei nvartolomei deleted the nv/datalake-file-committer-refactor branch January 22, 2025 06:33
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.

4 participants