Ask Your Question

Revision history [back]

how can swift reaper service decide which node is the primary node for an account

as said in the page:

The account reaper runs on each account server and scans the server occasionally for account databases marked for deletion. It will only trigger on accounts that server is the primary node for, so that multiple account servers aren’t all trying to do the same work at the same time.

I checked the code about reaper service, but didn't find the code which decide a primary node.