Skip to content

fix: Prevent proposal from being dropped accidentally (#7741)#7811

Merged
danielmai merged 1 commit intorelease/v21.03from
danielmai/v21.03-proposal-unique
May 20, 2021
Merged

fix: Prevent proposal from being dropped accidentally (#7741)#7811
danielmai merged 1 commit intorelease/v21.03from
danielmai/v21.03-proposal-unique

Conversation

@danielmai
Copy link
Copy Markdown
Contributor

@danielmai danielmai commented May 13, 2021

Cherry-pick of #7741 to release/v21.03.

Each proposal in alpha has a unique key but this unique key is not
guaranteed to be unique. We could end up creating duplicate keys and
these duplicate keys would get ignored in the raft loop.

This PR proposes a different way of creating the proposal keys so that
they are always unique.

Fixes - DGRAPH-3012, CLOUD-376


This change is Reviewable

Each proposal in alpha has a unique key but this unique key is not
guaranteed to be unique. We could end up creating duplicate keys and
these duplicate keys would get ignored in the raft loop.

This PR proposes a different way of creating the proposal keys so that
they are always unique.

Fixes - DGRAPH-3012
@danielmai danielmai merged commit cc2f70c into release/v21.03 May 20, 2021
@danielmai danielmai deleted the danielmai/v21.03-proposal-unique branch May 20, 2021 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants