Cron job to re-submit music store downloads that never made it

Bug #527681 reported by Stuart Langridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Confirmed
High
Stuart Langridge

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Periodically, a cron job should check the musicstoredownloads table and
find any files in it that never got downloaded and aren't in the queue,
and then re-submit them.

 affects ubuntuone-servers
 assignee sil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuGVtsACgkQk9furQwNFBTWzwCaApIII0OErqo7RPq2YKWPUfG+
zVMAn27LReQpoh+E5gaSvgAdK3Zk9cq4
=VJOz
-----END PGP SIGNATURE-----

tags: added: desktop+ music-store u1-lucid
Changed in ubuntuone-servers:
status: New → Confirmed
Revision history for this message
Stuart Langridge (sil) wrote :

This is harder than initially thought, because every time we ask for a URL from 7d we get back an oauth-signed URL, which means that every time we ask the URL we get back is *different* (oauth_timestamp, oauth_nonce, and oauth_signature all differ), and the URLs aren't cacheable. So it's not just a case of resubmitting the amqp message with the same URL.

Stuart Langridge (sil)
Changed in ubuntuone-servers:
importance: Undecided → High
Leo Arias (elopio)
tags: added: lucid
removed: u1-lucid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.