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

[Mechanical] Rename ReplicatedLogletId to LogletId #2450

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Dec 20, 2024

Summary:
Moves ReplicatedLogletId to be a common helper type for all loglets that want to benefit from its internal structure. The changes are mechanical since the type now is in restate_types::logs instead being specific under replicated_loglet.

Test Plan: Unit tests

Stack created with Sapling. Best reviewed with ReviewStack.

This PR introduces the new parameter to appender's API to let API users control the behaviour when appends to the current loglet face persistent failures. There is a new feature (`auto-extend` in restate-bifrost which controls the default behaviour).

No logic changes happen in this PR, in future PRs, bifrost will respect this input and will configure its behaviour accordingly.
Summary:
Moves ReplicatedLogletId to be a common helper type for all loglets that want to benefit from its internal structure. The changes are mechanical since the type now is in `restate_types::logs` instead being specific under replicated_loglet.

Test Plan: Unit tests
Copy link

github-actions bot commented Dec 20, 2024

Test Results

  7 files  ±0    7 suites  ±0   4m 37s ⏱️ +16s
 47 tests ±0   46 ✅ ±0  1 💤 ±0  0 ❌ ±0 
182 runs  ±0  179 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit 2178a2e. ± Comparison against base commit ab34a42.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@muhamadazmy muhamadazmy left a comment

Choose a reason for hiding this comment

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

Thanks @AhmedSoliman for this rename, it makes sense to me.

@AhmedSoliman AhmedSoliman merged commit 2178a2e into main Dec 23, 2024
12 checks passed
@AhmedSoliman AhmedSoliman deleted the pr2450 branch December 23, 2024 09:32
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.

2 participants