[MAGNOLIA-5590] Temporary file should be written only once during activation Created: 06/Jan/14  Updated: 10/Feb/14  Resolved: 07/Feb/14

Status: Closed
Project: Magnolia
Component/s: activation
Affects Version/s: 4.5.14
Fix Version/s: 4.5.16

Type: Improvement Priority: Neutral
Reporter: Joerg von Frantzius Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: maintenance, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLACTIVATION-43 Temporary file should be written only... Closed
is cloned by MGNLXAA-76 CLONE - Temporary file should be writ... Closed
Relates
dependency
is depended upon by MGNLXAA-76 CLONE - Temporary file should be writ... Closed
relation
is related to MAGNOLIA-5591 Generate timestamp for activation as ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes

 Description   

As noted in MGNLACTIVATION-42, currently the temporary file with activated content is written once per subscriber. So if e.g. a folder with files amounting to 500MB is activated on 4 subscribers, there are effectively 2GB written to disk in the process of activation.

If possible, the temporary file should be written only once per activation in order to reduce disk IO.

The actual writing of the file happens in info.magnolia.module.activation.Transporter.prepareTempFile(ActivationContent).


Generated at Mon Feb 12 04:06:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.