Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

HA backfill issue when no lease exists for a time period #1723

Open
cevian opened this issue Oct 26, 2022 · 0 comments
Open

HA backfill issue when no lease exists for a time period #1723

cevian opened this issue Oct 26, 2022 · 0 comments

Comments

@cevian
Copy link
Contributor

cevian commented Oct 26, 2022

The code in HA that handles backfill has a subtle bug.

When no lease at all exists for a time period the code here sees that no lease exists for the replica in question and the time-period, and assumes that another replica has the lease.

But, in certain cases nobody has the lease for that time-period and that case isn't correctly handled (instead all replicas will drop the data). What should probably happen is that we create a lease for the "gap" period with the first replica that requests it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant