]
Gustavo Fernandes updated ISPN-11132:
-------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Data not indexed during state transfer in server mode
-----------------------------------------------------
Key: ISPN-11132
URL:
https://issues.redhat.com/browse/ISPN-11132
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Affects Versions: 9.4.17.Final, 10.1.0.Final
Reporter: Gustavo Fernandes
Assignee: Nistor Adrian
Priority: Major
Fix For: 10.1.1.Final, 9.4.18.Final
A REPL cache with index auto-config, during State transfer is skipping index of data.
The order of events observed is:
CACHE_STARTING LIFECYCLE -> ST HAPPENS -> DATA WRITTEN -> CACHE STARTED
LIFECYCLE
During data writes, the {{ProtobufValueWrapperIndexingInterceptor}} is activated by
Hibernate Search and skips the indexing altogether since the
{{ProtobufValueWrapperSearchWorkCreator}} is not used, and thus it cannot extract the
descriptor from the entities. That search creator is only installed at cacheStarted phase.