We're updating the issue view to help you get more done. 

Some caches should not be purgeable.

Description

The Admin Console allows caches to be emptied. This should not be allowed for all caches.

Openfire uses caches for two distinct purposes:

  1. To improve performance, where it's expensive to obtain certain data

  2. To share information in the cluster

It is possible that information that cannot be re-retrieved is stored in a cache (with the intend to share it in the cluster). Purging such a cache would irrecoverably delete information, almost certainly introducing problems. The internals of the routing table are based on such caches.

Openfire should not allow that caches are purged, when those caches store information that cannot be retrieved again.

Environment

None

Acceptance Test - Entry

None

Assignee

Dave Cridland

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Minor
Configure