U4-7283 - A ServerRole Slave should not remove old instructions from the database

Created by Albin Johannesen 21 Oct 2015, 08:10:34 Updated by Shannon Deminick 22 Oct 2015, 16:07:03

See this thread: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/72251-flexible-load-balancing-with-read-only-front-end-servers

In a load balance environment PruneOldInstructions() should only be handle by the Master ServerRole. https://github.com/umbraco/Umbraco-CMS/blob/d50e49ad37fd5ca7bad2fd6e8fc994f3408ae70c/src/Umbraco.Core/Sync/DatabaseServerMessenger.cs#L190

Currently all ServerRoles will try to remove old instructions from the database every Sync. (throttled)

Comments

Albin Johannesen 21 Oct 2015, 13:38:20

Pull request: https://github.com/umbraco/Umbraco-CMS/pull/830


Shannon Deminick 22 Oct 2015, 16:06:59

Thanks!!


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.3.0

Due in version: 7.3.1

Sprint:

Story Points:

Cycle: