m-lab / etl-gardener

Gardener provides services for maintaining and reprocessing mlab data.
Apache License 2.0
13 stars 5 forks source link

use copy on write on status history updates #286

Closed gfr10598 closed 4 years ago

gfr10598 commented 4 years ago

The items in history are modified concurrently, so this uses copy-on-write to avoid race conditions.


This change is Reviewable

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.4%) to 62.226% when pulling bf5d486936f960341351c3fe090d3f7602fc96b6 on copy-on-write into b86ec5ac167a800538777aa7ee73d4ba62d6783e on master.