Most of the time the newest logging reports:
this extension: <class 'allura.model.session.ArtifactSessionExtension'>
But quite often it reports that it's using the Batch Indexer:
~~~~
this extension: <class 'allura.model.session.BatchIndexer'>
active session extensions are: [<class 'allura.model.session.BatchIndexer'>]
threadlocal session is for: [Database(MongoClient(u'mongo-server', 27017),
u'pyforge'),
Database(MongoClient(u'mongo-server', 27017),
u'pyforge'),
Database(MongoClient('mongo-server', 27017),
u'activitystream'),
Database(MongoClient(u'mongo-server', 27017),
u'task'),
Database(MongoClient(u'mongo-server', 27017),
u'project-data'),
Database(MongoClient(u'mongo-server', 27017),
u'project-data')]
current session is: Database(MongoClient(u'mongo-server', 27017),
u'project-data')
~~~~
---
** [tickets:#7047] ticket bulk_edit task sometimes doesn't call add_artifacts**
**Status:** in-progress
**Created:** Fri Jan 10, 2014 08:31 PM UTC by Dave Brondsema
**Last Updated:** Tue Jan 21, 2014 04:15 PM UTC
**Owner:** Dave Brondsema
On Allura's own ticket tracker when I do a bulk edit, it lately has been not
updating solr with the ticket changes. This has happened a few times, but I
haven't been able to reproduce on a test project or locally.
Here's the tasks that run in such a case:
https://sourceforge.net/p/allura/pastebin/52d057cbea406b5dc88d20ec
And here's the tasks that run when it does work properly:
https://sourceforge.net/p/allura/pastebin/52d057d404161f105486b39c
In the case of it not working, the sendmail events and logging of ticket
version commits show that the tickets were found. I can even find the
corresponding zarkov events that ArtifactSessionExtension.after_flush sends
out, so all I can figure is that "arefs" was falsey. But i don't see how that
can happen.
---
Sent from sourceforge.net because [email protected] is subscribed
to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.