You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Marcin Rzewucki <mr...@gmail.com> on 2013/04/23 21:51:12 UTC

Reordered DBQ.

Hi,

Recently I noticed a lot of "Reordered DBQs detected" messages in logs. As
far as I checked in logs it could be related with deleting documents, but
not sure. Do you know what is the reason of those messages ?

Apr 23, 2013 1:20:14 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@68c8e122 realtime
Apr 23, 2013 1:20:15 AM org.apache.solr.update.processor.LogUpdateProcessor
finish
INFO: [collection] webapp=/solr path=/update
params={update.distrib=FROMLEADER&_version_=-1433067860561756160&update.from=
http://host:8983/solr/collection/&wt=javabin&version=2}
{deleteByQuery=cmpy:1160027 (-1433067860561756160)} 0 1478
Apr 23, 2013 1:20:15 AM org.apache.solr.update.DirectUpdateHandler2 addDoc
INFO: Reordered DBQs detected.
Update=add{_version_=1433067860472627200,id=17183780}
DBQs=[DBQ{version=1433067860561756160,q=cmpy:1160027}]
Apr 23, 2013 1:20:15 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@123289e6 realtime
Apr 23, 2013 1:20:16 AM org.apache.solr.update.DirectUpdateHandler2 addDoc
INFO: Reordered DBQs detected.
Update=add{_version_=1433067860476821504,id=20102172}
DBQs=[DBQ{version=1433067860561756160,q=cmpy:1160027}]
Apr 23, 2013 1:20:16 AM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}

Re: Reordered DBQ.

Posted by Marcin Rzewucki <mr...@gmail.com>.
OK. Thanks for explanation.


On 23 April 2013 23:16, Yonik Seeley <yo...@lucidworks.com> wrote:

> On Tue, Apr 23, 2013 at 3:51 PM, Marcin Rzewucki <mr...@gmail.com>
> wrote:
> > Recently I noticed a lot of "Reordered DBQs detected" messages in logs.
> As
> > far as I checked in logs it could be related with deleting documents, but
> > not sure. Do you know what is the reason of those messages ?
>
> For high throughput indexing, we version updates on the leader and
> forward onto other replicas w/o strict serialization.
> If on a leader, an add happened before a DBQ, then on a replica the
> DBQ is serviced before the add, Solr detects this reordering and fixes
> it.
> It's not an error or an indication that anything is wrong (hence the
> INFO level log message).
>
> -Yonik
> http://lucidworks.com
>

Re: Reordered DBQ.

Posted by Yonik Seeley <yo...@lucidworks.com>.
On Tue, Apr 23, 2013 at 3:51 PM, Marcin Rzewucki <mr...@gmail.com> wrote:
> Recently I noticed a lot of "Reordered DBQs detected" messages in logs. As
> far as I checked in logs it could be related with deleting documents, but
> not sure. Do you know what is the reason of those messages ?

For high throughput indexing, we version updates on the leader and
forward onto other replicas w/o strict serialization.
If on a leader, an add happened before a DBQ, then on a replica the
DBQ is serviced before the add, Solr detects this reordering and fixes
it.
It's not an error or an indication that anything is wrong (hence the
INFO level log message).

-Yonik
http://lucidworks.com