[hibernate-issues] [JIRA] (HSEARCH-2674) Move the "active shards" state out of ShardIdentifierProvider

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Mon Apr 20 04:31:11 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *closed* an issue as *Out of Date*

This was done as part of the work on RoutingKeyProviders. We now extract a routing key from an entity, and how that routing key is transformed to a shard identifier is up to the backend.

Currently the backends in Search 6 do not offer dynamic sharding; only static sharding is available, i.e. the list of shards defined on bootstrap. But theoretically they could keep a shared state listing all shards, somewhere, and rely on that state plus the routing key to route requests to shards. My point is: users no longer have to care about this in the component responsible for extracting the routing key.

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-2674?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 ) HSEARCH-2674 ( https://hibernate.atlassian.net/browse/HSEARCH-2674?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 ) Move the "active shards" state out of ShardIdentifierProvider ( https://hibernate.atlassian.net/browse/HSEARCH-2674?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 )

Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) Assignee: Yoann Rodière Fix versions: 6.x-backlog Resolution: Out of Date Status: Open Closed

( https://hibernate.atlassian.net/browse/HSEARCH-2674#add-comment?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-2674#add-comment?atlOrigin=eyJpIjoiNTkxMWIwZmQ3MWQ5NGM4YWIzMTY5MDQ5NDdlMDQ3MzkiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:af682b6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200420/08f2b70b/attachment.html 


More information about the hibernate-issues mailing list