HomePhorge

Fix race condition in relation state handling

Description

Fix race condition in relation state handling

Make sure we use the same timestamp to insert the new
syncroton_relations_state entry even if we execute this multiple times.

Not using a current timestamp and instead using the sync timestamp
isn't strictily necessary, but makes the execution more deterministic
(less moving parts). It's either way racy, which is going to be
addressed in a separate commit.

Details

Provenance
mollekopfAuthored on Aug 27 2024, 4:24 PM
mollekopfPushed on Aug 29 2024, 12:27 PM
Differential Revision
D4902: Fix relation handling in syncroton
Parents
rS71838700603e: RelationsTest
Branches
Loading...
Tags
Loading...
Build Status
Buildable 48846