Skip to content

CompletionServiceHelper's doMultiPostRequest returns whenever 1 server responds instead of waiting for all #12423

@tibrewalpratik17

Description

@tibrewalpratik17

labels:
bug

This seems to be associated with this change #12275

When using UpsertCompaction, we make a doMultiPostRequest to all the servers for a table with the list of validDocIds. But seems it is not working as expected. The API only returns results from 1 server at a time.

The logs always shows this:

Finished reading information for table: TABLE_REALTIME with 1/4 server responses

I checked all the 4 servers received the request in this scenario and all were processing fine. Just that CompletionServiceHelper seems to be processing only 1. When I hit the controller API multiple times, each time the respond comes from different servers showing that each server individually works fine. This way UpsertCompaction is processing segments of only 1 server at a time.

cc @snleee

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions