skytools-legacy icon indicating copy to clipboard operation
skytools-legacy copied to clipboard

Fix branch-leaf repair

Open bashtanov opened this issue 8 years ago • 1 comments

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 avatar Oct 04 '16 10:10 bashtanov

Anybody there?

bashtanov avatar May 17 '18 11:05 bashtanov