How to setup audit logging to investigate a cause of the write core lock file being touched, causing corruption.
systemctl start auditdauditctl -w /var/cb/data/solr/cbevents/<cbevents_core>/data/write.lock -p war -k password-fileausearch -k solrlockThe following error in Solr can be seen when Writer core lock happens:
Caused by: org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an external force at xxxx-xx-xxTxx:xx:xxxxZ, (lock=NativeFSLock(path=/var/cb/data/solr/cbevents/cbevents_xxxx_xx_xx_xxxx/data/index/write.lock,impl=sun.nio.ch.FileLockImpl[0:xxxxxxx exclusive valid],creationTime=xxxx-xx-xxTxx:xx:xxxxZ))