Greenstand / treetracker-admin-client

The Admin Panel is the part of the Treetracker project for verifying, processing and managing data collected by the Treetracker app
GNU Affero General Public License v3.0
33 stars 193 forks source link

How to handle concurrent operations by multiple users #976

Open dadiorchen opened 1 year ago

dadiorchen commented 1 year ago

For the matching tool, what will happen if multiple users open it at the same time, and do matching, the same question applies to verifying captures, right?

dadiorchen commented 1 year ago

@nmcharlton @sebastiangaertner @Kpoke

nmcharlton commented 1 year ago

@dadiorchen You're right. We don't have a way of deconflicting simultaneous verification or capture matching by two users. @Kpoke What happens if we try to create a capture record for a raw_capture that already exists?

As for capture matching, I expect the second user will overwrite whatever the first user has done.

The det model proposed by Cam for species identification may be a way to solve this issue in the long term.