Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4789 (
https://hibernate.atlassian.net/browse/HSEARCH-4789?atlOrigin=eyJpIjoiZWM...
)
Re: Indexing entities with a shared id across tenants in HSearch 5 results in removal from
those tenants (
https://hibernate.atlassian.net/browse/HSEARCH-4789?atlOrigin=eyJpIjoiZWM...
)
SmorgasbordQ (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=63cb143...
) Thanks a lot for your report and reproducer.
This is quite embarrassing, and my only relief is that we reworked that part in Hibernate
Search 6 which means this will only affect Hibernate Search 5.11 and maybe 5.10 (I didn’t
check yet), but not later versions.
For the record, the problem is not that the executors don’t handle tenants, but that we
have some optimization logic that picks one executor or another depending on requirements
(multitenancy or not, …), and in some cases that logic picks the wrong one (which doesn’t
handle tenants, even though others do).
I will work on a fix.
(
https://hibernate.atlassian.net/browse/HSEARCH-4789#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4789#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:02c55de )