Closed nspool closed 2 years ago
@utas-raymondng Yes that's right. The whole correction update will complete in a transaction so that if another update is performed while one is still in progress, it will fail. This is how the ingest process works currently.
@utas-raymondng Yes that's right. The whole correction update will complete in a transaction so that if another update is performed while one is still in progress, it will fail. This is how the ingest process works currently.
What i mean is
Is this expected?
There may be problem if two people loaded the same survey and edit different row but save it at different time.
@utas-raymondng there is very small risk that 2 people work on the same survey as Toni and Lizzi are responsible for managing different datasets
@utas-raymondng yes this is expected since this is a limitation of the existing ingestion process. There is a backlog item to implement optimistic locking in the future: https://github.com/aodn/backlog/issues/2424.
There may be problem if two people loaded the same survey and edit different row but save it at different time. @utas-raymondng there is very small risk that 2 people work on the same survey as Toni and Lizzi are responsible for managing different datasets
Ok if is expected behavior
Survey measurements can now be added, updated or deleted and surveys can be removed. All correction operations will create a Job of type "Corrections" containing a summary of operations performed.
All functions should be gated behind the "Corrections" feature flag.
StagedRowFormatted
to theStagedRow
and so can verify correct formatting by comparing the original row with the mapped row.