-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.7.7, 2.8.5, 2.9, 3.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_39_STABLE
make_temp_directory:
- must only be used for per-request connections; and
- is shared in a clustered environment.
In lib/google/lib.php it is used to set a class config value for the Google_Cache_File class.
At the top of that class, it states:
/*
|
* This class implements a basic on disk storage. While that does
|
* work quite well it's not the most elegant and scalable solution.
|
* It will also get you into a heap of trouble when you try to run
|
* this in a clustered environment.
|
*
|
* @author Chris Chabot <chabotc@google.com>
|
*/
|
We should check whether we need this at all, and if we do see if we can use either one of:
- make_request_directory; or
- make_localcache_directory; or
- make_cache_directory.
- has been marked as being related by
-
MDL-52217 dropbox repository does not clean up in temp download dir
-
- Closed
-