Theia-Madalin Vlad created OAK-12458:
----------------------------------------
Summary: Audit trail for index definition changes
Key: OAK-12458
URL: https://issues.apache.org/jira/browse/OAK-12458
Project: Jackrabbit Oak
Issue Type: Improvement
Components: indexing
Reporter: Theia-Madalin Vlad
We should log, and persist the info in the repository, if index definitions are
changed (especially at runtime). Right now, there is only a limited way to find
out when / by whom an index definition was changed (by looking at old
revisions), and old revisions are not always available.
Example: queries started to fall back to traversal ("Traversal query (query
without index)") because an index definition had been replaced with a custom
version containing only a single property in its indexRules. The index
definition had to be cleaned up manually. The definition was not part of the
application code, and it was not possible to find out where it came from.
Possible sources of modifications on /oak:index include manual changes, content
package import, remote API calls (e.g. curl), or automatic changes (e.g. index
version purge).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)