You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "sigram (via GitHub)" <gi...@apache.org> on 2023/11/17 10:49:40 UTC

[I] Consumer backoff halts all processing even if one target collection is in bad state. [solr-sandbox]

sigram opened a new issue, #89:
URL: https://github.com/apache/solr-sandbox/issues/89

   Here's the scenario:
   * create a number of 1:1 collections in source / target Solr
   * start indexing (in my tests I was simply sending a constant stream of random documents in a round-robin fashion to each collection)
   * simulate a problem in ONE of the target collections. I simply deleted it, but in real life scenario it could've been any other kind of breakdown, or the following hypothetical scenario:
     * with a high-enough traffic there will be a number of messages in-flight between source and target. Assume the ops decided to remove (simultaneously) one of the collections, both at source and at target, without waiting for all messages for that collection to drain. Now the Consumer will pick up queued in-flight messages intended for the no-longer existing target collection.
   * Consumer will attempt to send picked up requests addressed to a no-longer existing (or functional) collection, to which Solr will respond with errors.
   * this will trigger back-offs, which will eventually halt ALL processing, also for the remaining healthy collections.
   
   Is this behavior the best we can do? I'm not sure, I would expect the Consumer to continue processing requests for healthy collections. At the very least we should offer some protection against the hypothetical I mentioned above.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [I] Consumer backoff halts all processing even if one target collection is in bad state. [solr-sandbox]

Posted by "anshumg (via GitHub)" <gi...@apache.org>.
anshumg commented on issue #89:
URL: https://github.com/apache/solr-sandbox/issues/89#issuecomment-1829220366

   With the dead letter queue, I think this issue shouldn't exist. The failed messages would get sent and processed in parallel. Adding a 'no-op' for specific collections temporarily would also be a possible solution as I guess that's what we really want of the updates that are inflight.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org