You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scanFile() is called on a file, and that file is already in the cache, it will usually try and see if there are differences and whether the cache needs to be updated.
In case there are no differences (same mtime), scanFile() will return the found data.
However, that data will not contain the file id.
Found while debugging a race condition in a backport's unit test: #16369 (comment)
It is not clear yet whether this could happen on a productive instance, and if it happens whether it will cause strange errors.
The text was updated successfully, but these errors were encountered:
When
scanFile()
is called on a file, and that file is already in the cache, it will usually try and see if there are differences and whether the cache needs to be updated.In case there are no differences (same mtime),
scanFile()
will return the found data.However, that data will not contain the file id.
Found while debugging a race condition in a backport's unit test: #16369 (comment)
It is not clear yet whether this could happen on a productive instance, and if it happens whether it will cause strange errors.
The text was updated successfully, but these errors were encountered: