public class PartialStartupDetector extends Object
The startup phase is especially tricky in this regard, since there are multiple elements that need to get updated (some are in the Oak layer, some in Sling):
This PartialStartupDetector is in charge of ensuring that a newly joined instance has all these elements set. Otherwise it is considered a "partially started instance" (PSI) and suppressed.
The suppression ensures that existing instances aren't blocked by a rogue, partially starting instance. However, there's also a timeout after which the suppression is no longer applied - at which point such a rogue instance will block existing instances. Infrastructure must ensure that a rogue instance is detected and restarted/fixed in a reasonable amount of time.
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.