1. 21 Mar, 2014 1 commit
  2. 19 Mar, 2014 16 commits
  3. 18 Mar, 2014 21 commits
  4. 17 Mar, 2014 2 commits
    • Merge pull request #156 from edx/talbs/ui-peerscores · 1c4cdb23
      Show Peer Scores for Each Rubric Question
      Brian Talbot committed
    • Fix integrity error on submission under repeatable-read mode. · 6a2e3eec
      Shift the creation of the peer workflow to happen when overall
      workflow is created, instead of implicitly creating it if it
      doesn't exist while checking for workflow status. The problem was
      that the read check happens in multiple places and AJAX requests
      were hitting it at the same time. Because repeatable-read mode
      prevents them from seeing each others work, a couple of threads
      would find that the peer workflow did not exist and would try to
      create it. This cause integrity errors because those constraints
      are enforced, even if those rows aren't available to other
      processes.
      
      This should have been fixed no matter what, but it's important to
      note that Django should never be run under MySQL's default
      repeatable-read mode. Use read-committed. For legacy reasons,
      edX's own servers are misconfigured in this respect.
      
      [TIM-262]
      David Ormsbee committed