Hi Ktc,
The unexpected behavior is the event sent by the XWikiServerXwikiDocumentInitializer. Upon
starting a new node, there is no reason that the main wiki descriptor gets updated, and
therefore no reason for an DocumentUpdatedEvent to be triggered. I hardly suggest trying
to understand why such an update happens.
The purpose of cleaning the whole security cache when the main wiki descriptor is updated
is simply to ensure that if this document update was updating the wiki owner, the new
owner is taken into account. Since this owner receives admin right on the whole farm, all
the information contained in the security cache could be invalid, hence the complete
cleanup.
Please let us know if you find why the descriptor is updated.
--
Denis Gervalle
SOFTEC sa - CEO
On 11 May 2018, 18:44 +0200, ktc <ktc-wiki(a)amazon.com>om>, wrote:
XWikiServerXwikiDocumentInitializer's