Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Fix branch-leaf repair #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bashtanov
Copy link

Hello

londiste ... repair command never succeeds when it is used to check consistence between a branch and a leaf.

Currently it

  1. Pauses the branch consumer which actually acts as an external ticker for the branch queue.
  2. Kinda forces a tick on the branch (reads the last tick id in fact).
  3. On the leaf, waits for a tick exceeding the tick read from the branch. It never happens, as no new ticks arrive to the leaf because of no new ticks generated on the branch as the consumer is stopped.

The idea of the fix is to check the leaf for the same tick as seen on the branch, but not exceeding. Any comments welcome.

Thanks,
Alexey

@bashtanov
Copy link
Author

Anybody there?

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

Successfully merging this pull request may close these issues.

1 participant