Hi
I have a workflow that uses Supabase Postgresql. The workflow involves getting the user row and then updating it.
However, when the same user sends multiple and consecutive requests to that workflow, a race condition occurs. The workflow should be ok with multiple concurrent requests from different users, as their rows are not the same.
Does anyone know how I can make the concurrent workflow workers notice requests are coming from which user, and make multiple requests from the same user to execute one by one?
I have considered setting concurrency to 1, but that cannot keep up with the service amount, and it really beats the purpose of having queue mode. Is this concept correct? Please let me know your views and recommendations!!
Information on your n8n setup
- **n8n version:1.89.2
- **Database (default: SQLite): postgres, plus supabase in workflow
- **n8n EXECUTIONS_PROCESS setting (default: own, main): queue
- **Running n8n via (Docker, npm, n8n cloud, desktop app): docker hosted on railway
- Operating system: