I started lemdro.id. Pretty cool domain name, right?

  • 0 Posts
  • 195 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle



















  • cole@lemdro.idtoAndroid@lemdro.idFederation Issue Resolved!
    link
    fedilink
    English
    arrow-up
    40
    ·
    edit-2
    11 months ago

    Basically, the lemmy backend service for some reason marked every instance we federated with as inactive, which caused it to stop outbound federation with basically everyone. I have a few working theories on why, but not fully sure yet.

    TL;DR lemmy bug, required manual database intervention to fix

    This was a stressful start to a vacation!

    For a more detailed working theory…

    I’ve been doing a lot of infrastructure upgrades lately. Lemdro.id runs on a ton of containerized services that scale horizontally for each part of the stack globally and according to load. It’s pretty cool. But my theory is that since the backend schedules inactive checking for 24 hours from when it starts that it simply was being restarted (upgraded) before it had a chance to check activity until it was too late.

    theory:

    • scheduled task checks instances every 24 hours

    • I updated (restarted it) more than every 24 hours

    • it never had a chance to run the check

    • ???

    • failure

    This isn’t really a great design for inactivity checking and I’ll be submitting a pull request to fix it.