France-ioi / AlgoreaBackend

Backend for the new Algorea platform
MIT License
1 stars 2 forks source link

Async transactions allows creating a cycle in the item relations graph #1165

Open smadbe opened 2 weeks ago

smadbe commented 2 weeks ago

As shown in #1149, the async transactions mechanism may allow creating a cycle in the item relations graph (probably in the group one as well).

The goal of this issue is to brainstorm actual and realistic solutions to prevent this problem (not to implement it yet)

Few were already drafted here: https://github.com/France-ioi/AlgoreaBackend/pull/1149#issuecomment-2270680647

Related to https://github.com/France-ioi/AlgoreaBackend/issues/1129