WIPACrepo / lta

Long Term Archive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SiteMoveVerifier drops bundles on the floor

blinkdog opened this issue · comments

Reading through the code to work on another issue, I noticed that the SiteMoveVerifier will request work, and then silently discard it if conditions are not correct.

Ideal workflow:

  • Request bundle to verify
  • If transfer is complete, verify the bundle and update the LTA DB as verified
  • If transfer is not complete, return the bundle to the LTA DB for next cycle

Current code:

  • Request bundle to verify
  • If transfer is complete, verify the bundle and update the LTA DB as verified
  • If transfer is not complete, silently drop the work; sends the bundle into a black hole.