Files
gitlabhq/app
Stan Hu ca3ce5c26c Fix nonatomic database update potentially causing project star counts to go negative
The counter_cache decrement function is called when a project star is deleted,
but there was no guarantee multiple workers would not attempt to delete the
same item simultaneously. Use an atomic update to prevent the count from going negative.

Closes #3067
2015-10-17 00:58:14 -07:00
..