Bugfix
Major
#24452
Possible infinite loop in AbstractKBCache
The AbstractKBCache is a transaction-safe KnowledgeBase cache.
When initialized, the cache is updated from the current session revision upwards to the current KnowledgeBase revision. After that code runs Checks that the current KB revision has really been reached. If this has not happened, the process is repeated endlessly.
If the session revision is corrupt, this can lead to an endless recursion which can crash the system.
Test
No test. The problem is only reproducible for sure due to another error.