Comment 22 for bug 627608

Revision history for this message
Michael Nelson (michael.nelson) wrote :

We've been through the logs, matching the sca logs with launchpad's, and can confirm that although the script is running every minute, it didn't detect Rick's new token.

The reason is that the launchpad script that checks for new tokens does the following:

1) Log that the script started
2) Check for any new tokens since the last successful run finished
3) Do updates if there are any
4) Log that the script finished.

with the now-obvious issue that if a new token is created in the small window after (2) but before (4), it will not be detected (until the next time a new token is added to the same PPA - which is exactly what happened with Rick's subscription).

I'll prepare a LP branch that updates the script so that at (2) it checks for any new tokens since the last successful run *started* (it's an idempotent operation, so overlap won't affect the process).