Using InheritableThreadLocal as informed by darioc in https://forum.hibernate.org/viewtopic.php?f=9&t=1023896 does make the indexer running properly, BUT it creates another problem, since the tenantIdentifier can be switched on concurrent http request.
|