• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7879: VarCachePlugin may cause a topic rendered broken

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension VarCachePlugin Normal Being Worked On   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Under high load, VarCachePlugin may cause a page rendered broken. This is mainly because a cache file may be read before it's completely written. There is a possibility of multiple cache updates happen simultaneously and write to the same cache file at the same time. In addition, there is a possibility of a system crash while a cache file is being written. To cope with those situations, data to be cached needs to be written to a temporary file and then renamed. Both the cached data for the HTML body and the HTML head need to be renamed after both are written.

-- TWiki:Main/HideyoImazu - 2020-01-21

ItemTemplate
Summary VarCachePlugin may cause a topic rendered broken
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-6.1.0-trunk, Thu, 29 Aug 2019, build 30672
AppliesTo Extension
Component VarCachePlugin
Priority Normal
CurrentState Being Worked On
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2020-01-22 - HideyoImazu
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback