Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4789 (
https://hibernate.atlassian.net/browse/HSEARCH-4789?atlOrigin=eyJpIjoiZGJ...
)
Re: [HSearch 5] Indexing entities with a shared id across tenants results in removal from
those tenants (
https://hibernate.atlassian.net/browse/HSEARCH-4789?atlOrigin=eyJpIjoiZGJ...
)
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).
Ok, so actually SmorgasbordQ (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=63cb143...
) was right. The problem is just that ByTermUpdateWorkExecutor , DeleteExtWorkExecutor ,
UpdateExtWorkExecutor are buggy and don’t handle tenant IDs, at least not in all cases.
(
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 )