A little issue with metadata...
Continuing the discussion from PostgreSQL, maintaining count metadata:
What about this:
(blah blah blah)
I'm more confident with this. Feels it should work.
Me, 1 week ago: "I'm so smart! Look at my pretty DB design!"
My boss today: "Hey cartman, look at this screenshot"(that's "pending")
I see no bug here. You're just so awesome you've processed tasks before they were actually queued.
Heck, I found out on Monday that I did much of this week's work 6 years ago.
Excessive attention to detail my arse, see - it paid off!
That sounds cupcake worthy!