whole-tale / terraform_deployment

Terraform deployment setup for WT prod
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Mongo replication causing possible race condition #33

Closed craig-willis closed 5 years ago

craig-willis commented 6 years ago

When registering a dataset under certain circumstances, there is a 500 error during registration because a file is created in an item that doesn't exist since we are writing to primary and reading from secondary, which may not have the data.

Two solutions:

Xarthisius commented 5 years ago

I believe that's fixed by https://github.com/whole-tale/girder/commit/c360d42f3dd23522f2693395a06031b847086a01