Review main Merged

65647[TASK] Drop workspace publish locking

Christian Kuhn CR +2 V +2 Easy +0 −22 updated 09/10/20, 09:39

Commit message

The workspace 'publish' process is encapsulated in a lock
file to prevent dupblicate publish of the same record at
the same time.

This is bogus:
* Other operations like modify or discard are not covered
* A stalled lock file can only happen if a process crashes
* Nothing else in the DataHandler has similar locking strategies
* The only way to recover from a stalled lock file is "ask your admin",
  which is not helpful in any way.

If the DataHandler (and with that the workspace operations) should
have locking, it needs to be implemented in the DataHandler at a
central place and not within a fraction of the workspace sub set.

The patch drops the publish process locking.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1