Skip to content

Conversation

@sarina
Copy link
Contributor

@sarina sarina commented Jan 6, 2014

@ormsbee do you think this logging is sufficient to help us trace and debug https://edx-wiki.atlassian.net/browse/LMS-1582 since we won't be able to focus other attention on that story this sprint, but releasing the grades download feature widely may mean we hit the issue a few times?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I meant that we should see what the most recent InstructorTask is (so the InstructorTask with the highest id). That would let us see if it's seeing the database in an older state.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how to get that, I presume something like InstructorTask.objects.filter(course_id=course_id, task_type=task_type) but is there a better command for that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just grab InstructorTask.objects.latest('id') and catch the DoesNotExist error so it doesn't bomb out from the beginning. I'm mostly curious as to what state of the database we can actually read.

@sarina
Copy link
Contributor Author

sarina commented Jan 6, 2014

@cpennington is it possible to get this bit of logging code in the release?

@ormsbee
Copy link
Contributor

ormsbee commented Jan 6, 2014

👍

cpennington added a commit that referenced this pull request Jan 7, 2014
Logging to catch duplicate instructor tasks
@cpennington cpennington merged commit 32710d4 into rc/2014-01-07 Jan 7, 2014
@cpennington cpennington deleted the sarina/duplicate-task-logging branch January 7, 2014 13:54
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Sep 7, 2017
* addition of test code of the certificate issuance function openedx#2038 (openedx#2054)

* Mod translation of 'Course End Date:' openedx#2084 (openedx#2090)

* Add menu to ga_operation for ga_analyzer openedx#2039 (openedx#2088)

* Fixed bugs openedx#2039 (openedx#2112)

* Fixed csv format openedx#2039 (openedx#2127)

* Change to split download if there are many display items openedx#916 (openedx#2121)

* Change to split download if there are many display items openedx#916

* Fix UT

* Fix Review

* Fix review2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants