Support for parallel search queries

Support for parallel search queries

by Elie Daou -
Number of replies: 1

Are we supposed to support running multiple search queries in parallel on a single gossiper? 

I'm asking mostly because of the 0 budget threshold implementation. Since SearchReply doesn't hold any information on which request it is for it becomes nearly impossible to keep a state of how many complete file we received for a specific search request especially if we might have multiple requests running at the same time.

In reply to Elie Daou

Re: Support for parallel search queries

by Kirill Nikitin -

Hi,

Yes, this part is a bit ambiguous. From our side, it is ok if you count the same search reply in all the outstanding searches. In other words, if you receive a search reply that can correspond to more than one ongoing search, count it as a match in all of them.

Kirill