Bug in parallel cache rebuild protection

Components

Labels

Description

We've implemented parallel cache rebuild protection in 5.2.0-B1 by setting lock before creating new cache. This ensured that all other requests were receiving old cache version or just waiting for a lock to be released.

However I've found a bug in that system too, when multiple visitors, who encountered a missing/outdated cache would set lock in parallel and start rebuild process. This of course would be slightly smaller number of parallel rebuild requests then without protection added in 5.2.0-B1, but still needs to be fixed.

Context Information

None

Additional information (do not use)

None

Attachments

1
  • 24 Mar 2012, 08:38 PM

Activity

Alex July 25, 2012 at 10:31 AM

Since 5.2.0 version was released.

Alex March 24, 2012 at 8:41 PM

Fix committed to [b]5.2.x branch/b. Commit Message:

Fixes #0001231: Bug in parallel cache rebuild protection

Alex March 24, 2012 at 8:41 PM

Will test all together later.

Fixed

Details

Priority

Assignee

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Story Points

Fix versions

Affects versions

Created March 24, 2012 at 8:38 PM
Updated December 29, 2024 at 9:06 PM
Resolved July 25, 2012 at 10:31 AM

Flag notifications