diff options
author | Paco Guzman <pacoguzmanp@gmail.com> | 2016-09-29 13:59:31 +0300 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-09-30 10:35:58 +0300 |
commit | 32e32fa0fd45ef091fe4c4639313c3e281bfc5df (patch) | |
tree | cad09e6f850d297499315ac3316579114e96cbf0 /vendor | |
parent | 80fef70bb7c9c1cab1ff80e78f94a83d6712e50d (diff) |
Revert to use Mounter method to check existence
See: https://gitlab.com/gitlab-org/gitlab-ce/commit/6280fd3777920670ee42111fddf29576cbf85988#note_14766241
We wanted to avoid accesses to the file system, because it seems reasonable that if the mounter column has some content it’s because there are an associate file. This is an speed boost when you access to a bunch of build instances to show their information.
The problem is that solution doesn’t work if you uses that method to detect the thing and you’re changing the uploaded file on instances that had that column empty. Until you don’t persist the instance the database column will be empty so we can have false negatives
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions