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

Change: Consolidate RaftEntry and RaftPayload type parameters into C #1072

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Mar 20, 2024

Changelog

Change: Consolidate RaftEntry and RaftPayload type parameters into C

Upgrade tip:

To adapt to this change, update type parameters from separate NID,
N to the single generic C constrained by RaftTypeConfig:

RaftEntry<NID, N>   --> RaftEntry<C>
RaftPayload<NID, N> --> RaftPayload<C>

This change is Reviewable

…o `C`

Upgrade tip:

To adapt to this change, update type parameters from separate `NID`,
`N` to the single generic `C` constrained by `RaftTypeConfig`:

```rust
RaftEntry<NID, N>   --> RaftEntry<C>
RaftPayload<NID, N> --> RaftPayload<C>
```
@drmingdrmer drmingdrmer merged commit f5065fb into databendlabs:main Mar 20, 2024
30 of 31 checks passed
@drmingdrmer drmingdrmer deleted the 41-raft-entry-c branch March 20, 2024 08:41
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.

1 participant