Advisory locks are database-scoped and would serialize every writer to a collection, including across Groudon tenants that share names. Collect reinforcement and replace ops during the loop, lock target rows with SELECT ... ORDER BY id FOR UPDATE, then apply. populate_existing reloads times_derived so a prefetched identity-map row cannot lose a concurrent increment. |
||
|---|---|---|
| .. | ||
| test_document.py | ||
| test_get_or_create_retry_invalidation.py | ||
| test_peer_card.py | ||
| test_representation_manager.py | ||
| test_session.py | ||
| test_workspace.py | ||