During debugging, sometimes it is helpful to see the ID of the last item indexed as well as the next item queued for indexing. It would be great to have drush commands that checks the appropriate queues to return this information. It seems there are some API functions we could leverage to provide this functionality.

CommentFileSizeAuthor
#1 drush-queue-debugging-1751640-1.patch2.19 KBcpliakas

Comments

cpliakas’s picture

Status: Active » Needs review
StatusFileSize
new2.19 KB

The attached patch adds the commands.

nick_vh’s picture

Should this go in the main module? Just thinking that this might bloat and confuse the users actually using the drush command?

cpliakas’s picture

I really don't care, to be honest. People are asking for this constantly, so I just wanted to get a patch in the wild so they could start using it. If you don't feel it should be in the main module then it is going directly in Solr Devel.

Thanks,
Chris

nick_vh’s picture

Version: 7.x-1.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)
nick_vh’s picture

Status: Patch (to be ported) » Fixed

applied cleanly, committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.