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

Issue 4281 - Simplify production code to add a transaction sync/asynchronously #4301

Conversation

rtjd6554
Copy link
Collaborator

@rtjd6554 rtjd6554 commented Feb 21, 2025

Make sure you have checked all steps below.

Issue

Tests

  • My PR adds the following tests OR does not need testing for this extremely good reason:
    • Existing suite of test executed

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it, or I have linked to a
    separate issue for that below.
  • If I have added or removed any dependencies from the project, I have updated the NOTICES file.

rtjd6554 and others added 30 commits February 21, 2025 15:47
@rtjd6554 rtjd6554 marked this pull request as ready for review February 25, 2025 14:56
@patchwork01 patchwork01 self-assigned this Feb 25, 2025
@patchwork01 patchwork01 removed their assignment Feb 25, 2025
@@ -41,7 +42,8 @@ public InitialisePartitionsTransaction(List<Partition> partitions) {
}

/**
* Creates a transaction to initialise the table with a single root partition.
* Creates a transaction to initialise the table with a single pa0rtition covering all keys. This is the root
Copy link
Member

Choose a reason for hiding this comment

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

Spurious '0' in the word 'pa0rtition'.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Fixed, thanks.

* A transaction to set all partitions in a Sleeper table. This should specify the whole partition tree. Any partitions
* that were present before will be deleted.
* Sets all partitions in a Sleeper table. These should build into a complete partition tree, where all partitions are
* linked to a single root. Any partitions that were present before will be deleted.
*/
Copy link
Member

Choose a reason for hiding this comment

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

This would be clearer as "where there is a single root and all partitions are connected to that either directly or indirectly via other partitions".

Copy link
Collaborator

Choose a reason for hiding this comment

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

Done, thanks.

@gaffer01 gaffer01 removed their assignment Feb 25, 2025
@rtjd6554 rtjd6554 merged commit 3d8483e into develop Feb 26, 2025
8 checks passed
@rtjd6554 rtjd6554 deleted the 4281-Simplify-production-code-to-add-a-transaction-sync-asynchronously branch February 26, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify production code to add a transaction sync/asynchronously
3 participants