Closed Bug 1567299 Opened 1 year ago Closed 1 year ago

STMO report_ping command should store last ran timestamp in database and automatically run from last time if present

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Details | Review

Currently when report_ping runs it sends all bugs to STMO. There is a --since argument that can be used to only send bugs that have changed since the last export. Using that will require the cron job somehow storing a timestamp on the filesystem. For the purpose of K8s and not relying on shared file systems, it would be better to store the value in the DB
and load it from there.

Attached file GitHub Pull Request

Merged to master.

Note:

  1. Need to run checksetup.pl after deployment
  2. File a new bug to have the cron script changed to use --since-db once the change is deployed and checksetup has ran.
Flags: needinfo?(dkl)

(In reply to David Lawrence [:dkl] from comment #2)

Merged to master.

Note:

  1. Need to run checksetup.pl after deployment
  2. File a new bug to have the cron script changed to use --since-db once the change is deployed and checksetup has ran.

Checksetup has been ran. Will file a bug to have the --since-db param added to the cron task.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(dkl)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.