[xwiki/xwiki-platform] 24811e: XWIKI-25215: An error is logged when stopping XWik...
Branch: refs/heads/stable-18.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 24811e97de1096c861645a94f4ed2f5770532166 https://github.com/xwiki/xwiki-platform/commit/24811e97de1096c861645a94f4ed2... Author: Simon Urli <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/pom.xml M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/job/IndexerJob.java A xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/DefaultSolrIndexerTest.java M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/job/IndexerJobTest.java M xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-api/src/main/java/org/xwiki/store/ReadyIndicator.java A xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-api/src/main/java/org/xwiki/store/StoreStoppedException.java Log Message: ----------- XWIKI-25215: An error is logged when stopping XWiki while the Solr index synchronization is waiting for the indexing to be applied (#6670) * Complete the pending ready indicators with a dedicated SolrIndexerStoppedException when the Solr indexer is stopped * Don't fail the indexer job when the indexer stops while waiting for the indexing to be applied: log it and skip the cleanup of the invalid entries, since the synchronization is executed again at the next start * Increase the coverage threshold of the module * Provide the execution context components to the indexer threads in DefaultSolrIndexerTest so that they don't fail and write to the console * Replace the internal SolrIndexerStoppedException by a public StoreStoppedException in the store API, so that any ReadyIndicator user (e.g. LinkStore#waitReady() callers) can recognize a stopped store * Document on ReadyIndicator that it's completed with a StoreStoppedException when the store is stopped * Add the `@since` of the stable branches the change is backported to (17.10.14 and 18.4.7) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 8d461e7105e97ba206cb39795010ce862183aecb) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications