Aaron Schulz
9f95bddda7
[FileBackend] Added getFileHttpUrl() function.
...
* This can speed up certain video file operations for scripts that support
specifying source files via URLs and support HTTP Range headers.
* Updated unit tests.
Change-Id: I60cb95c2e3dd9f7df1f740e9182be7c79af69d6e
2012-11-08 23:01:19 +00:00
Siebrand Mazeland
d4b046a893
Update docs for return and exception info
...
* Removed some inline tabs in the process.
* IDE fixed some incorrect leading spaces, too.
Change-Id: Ic9303eff6db4424ac3f1fa2816839692b43e6190
2012-10-09 09:41:58 +00:00
Aaron Schulz
812487e902
[FileBackend] Tweaked FileBackendMultiWrite behavior to fix test leakage.
...
Change-Id: I0a967780b64d1883cfeb1a7a183bbb82dc1ae432
2012-10-05 15:07:30 -07:00
Brion VIBBER
a570a73510
Merge "[FileBackend] Added getFileContentsMulti() and improved it for Swift."
2012-10-03 20:01:46 +00:00
Brion VIBBER
ba652c59fa
Merge "[FileBackend] Added getLocalCopyMulti() and getLocalReferenceMulti()."
2012-10-03 19:54:34 +00:00
Aaron Schulz
613c5949a6
Reorder keys for fileStoragePathsForOps() function since its a list.
...
Change-Id: I83cf6f6db92c9a0b39c3229d688463c5cda61d69
2012-10-02 10:40:35 -07:00
Aaron Schulz
8641c9af9d
[FileBackend] Added getFileContentsMulti() and improved it for Swift.
...
Change-Id: I6a2173eccda8fe7d4e2e779421e6edf05c8201b4
2012-09-22 11:01:58 -07:00
Aaron
ae65453e84
[FileBackend] Added getLocalCopyMulti() and getLocalReferenceMulti().
...
* Optimized these in Swift to use pipelined GETs.
* This can also be used to improve concatenate().
Change-Id: Ibeb5df7532f9f5c16736b20c28b7c0d9ddfb412f
2012-09-21 21:10:54 -07:00
Aaron Schulz
5a4046e80c
[FileBackend] Added automatic recovery option for backend sync errors.
...
* Separated consistency checks from permission checks.
* Made fileStoragePathsForOps() exclude non-storage paths.
Change-Id: If15c5fb890f7506ac9c9bfb78c46ab9228a55a8f
2012-09-12 21:33:16 +00:00
Aaron
0da6eaea05
[FileBackend] Reduce backend sync errors a bit by aborting operations more.
...
Change-Id: Iedb8d7e1f95c971dbb9f9baed67de047753ab40d
2012-08-30 10:10:50 -07:00
Aaron Schulz
feb7a3e10e
[FileBackend] Reduced stat calls when using the multiwrite backend.
...
Change-Id: I46805637a9dcaaea597bf6eeba204a6889a36a51
2012-08-26 02:11:31 -07:00
Aaron
36c0c1edb6
[FileBackend] MultiWrite options to avoid pushing certain changes to all backends.
...
* This can be used to no-op dir and file operations on the clone backends
for the 'thumb' and 'temp' zones to reduce load or avoid hitting certain mounts.
Change-Id: I2c57904b8264b7479b17736333b0b9228b469bbc
2012-08-22 16:02:12 -07:00
Aaron
e6a1ba3fd7
[FileBackend] Actually respend the "syncChecks" config option
...
Change-Id: Ibb6a243b49970da7c22ff14231b04cb0ac5c64e7
2012-08-15 17:43:36 -07:00
Aaron
c51a9a288b
[FileBackend] Added resyncFiles() function to multiwrite backend.
...
* Also fixed the the SHA1 function calls in consistencyCheck().
Change-Id: I29758ff79102929aa0ffb756526d7918bf74ca39
2012-08-15 17:24:20 -07:00
Aaron Schulz
a47892abef
[FileBackend] Moved filerepo/backend/ up to filebackend
...
Change-Id: I62ba23bd22e0f177fb48acaf6bcc38cbffacd3e7
2012-08-08 18:20:57 -07:00