Uploaded image for project: 'Contrib: Textbook'
  1. Contrib: Textbook
  2. TXB-205

Updating book metadata can lead to multiple update queries for each book with expired data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1_RC04
    • Fix Version/s: None
    • Component/s: Textbook, UBook
    • Labels:
      None

      Description

      TextbookLogic keeps track of the freshness of cached metadata about books from an external "book finder". If it is not fresh enough, TextbookLogic requests updates from the "book finder" and either adds database records or updates database records. If more than one user nearly simultaneously takes an action that retrieves metadata about the same books (such as opening a list of books for a course or starting the process of offering a book for sale) and the metadata is expired, the same updates may be executed more than once for each book. This can lead to database contention.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                jimeng Jim Eng (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated: