Partition routing not working properly #80
Labels
component/gateway
high priority
Priotirized issues
type/bug
Something isn't working
type/refactor
Refactoring of existing functionality
Issue description
The partition routing in the gateway is not working properly for mirrors with range index. There are some bugs and problems I noticed while working with the partition routing more in-depth:
The StreamsStateHost creates a wrong URL. So the request never arrives at the Mirror.
The getResponseFromFallbackService method in MirrorRequestManagerWithFallback creates the wrong URL because it is ignoring the query parameters of the initial URL.
The MirrorDataFetcherClient creates a PartitionedMirrorClient using the String SerDe. This causes that the partition calculation gets wrong. We need to know the type of the key that user is sending with its query request.
Expected Behavior
That the partition router updates the partition to host map correctly.
Current Behavior
The partition router in the gateway fails to fetch the information from a mirror and cannot access the correct mirror.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: