[MCOL-3362] Make Downloader download to a tmp dir, then move it to cache on success Created: 2019-06-04  Updated: 2019-07-31  Resolved: 2019-07-31

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Task Priority: Major
Reporter: Patrick LeBlanc (Inactive) Assignee: Patrick LeBlanc (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Epic Link: ObjectStore support

 Description   

Downloader currently d/ls straight to the cache directory. Partial downloads caused by a crash, or who knows what, could make Cache return that partial data and mess everything up. To fix that, Downloader should d/l to a tmp dir (ex, storagemanager/tmp), then move it to the cache after success.

This would also apply to Synchronizer. When it merges a journal with its object, the merged object is created directly in the cache dir.


Generated at Thu Feb 08 02:42:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.