mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
ee1e2da8fb
Summary: While I should fix the transactional stuff, that patch is going to be tricky and transactions have some performance implications. This is a simple fix which prevents the race. Instead of having the data point at the event ID, have the event point at a data ID. Insert the data first, then insert the event with the right data pointer. This is super simple and prevents the race issue. Test Plan: - Ran the schema upgrade script, verified that the database was correctly upgraded. Was also prompted to stop daemons. - Ran 'repository-launch-master', verified that the discovery daemons were able to discover new commits and insert events for them. Verified the committask daemon was consuming events and converting them into tasks. - Verified new tasks looked correct in the database. - Browsed web interface. Reviewers: jungejason CC: tuomaspelkonen Differential Revision: 133 |
||
---|---|---|
.. | ||
000.project.sql | ||
001.maniphest_projects.sql | ||
002.oauth.sql | ||
003.more_oauth.sql | ||
004.daemonrepos.sql | ||
005.workers.sql | ||
006.repository.sql | ||
007.daemonlog.sql | ||
008.repoopt.sql | ||
009.repo_summary.sql | ||
010.herald.sql | ||
011.badcommit.sql | ||
012.dropphidtype.sql | ||
013.commitdetail.sql | ||
014.shortcuts.sql | ||
015.preferences.sql | ||
016.userrealnameindex.sql | ||
017.sessionkeys.sql | ||
018.owners.sql | ||
019.arcprojects.sql | ||
020.pathcapital.sql | ||
021.xhpastview.sql | ||
022.differentialcommit.sql | ||
023.dxkeys.sql | ||
024.mlistkeys.sql | ||
025.commentopt.sql | ||
026.diffpropkey.sql | ||
027.metamtakeys.sql | ||
028.systemagent.sql | ||
029.cursors.sql | ||
030.imagemacro.sql |