RCOSDP / RDM-osf.io

Facilitating Open Science
https://rcos.nii.ac.jp
Apache License 2.0
13 stars 24 forks source link

Hotfix/39988 #465

Closed fujimotodaisuke closed 7 months ago

fujimotodaisuke commented 8 months ago

Purpose

Use select_for_update() to lock row of table to fix race condition on update user's quota. Fix issue where size of previously deleted files would duplicately reduced from user's quota when deleting directory.

Changes

Use select_for_update() to lock row of table to fix race condition on update user's quota. Fix issue where size of previously deleted files would duplicately reduced from user's quota when deleting directory.

QA Notes

Documentation

Side Effects

Ticket

GRDM-39988