The following error is seen in the application server log:
[Appian ReschedulingTimerTask - SearchIndexSyncTimerTask - XXXXX] ERROR com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask - [Search index sync: jdbc/XXXX] XXXX consecutive errors. Will try again in XXXX ms. ... Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:<APPIAN_HOME>/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry/write.lock
This error typically occurs when the application server is improperly shut down.
In a distributed environment, this error can occur if the network drive where <APPIAN_HOME>/_admin resides becomes unavailable while the application server is starting up or shutting down. The network drive becoming unavailable would prevent the deletion of the write.lock file.
<APPIAN_HOME>/_admin
<APPIAN_HOME>/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry
This article applies to all versions of Appian.
Last Reviewed: June 2017