taskMapOSMatic - Tasks: task #10152, Update job status from the...

 
 

task #10152: Update job status from the presence of files on the disk

Submitter:  Maxime Petazzoni <mpetazzoni>
Submitted:  Thu 04 Feb 2010 04:42:25 PM UTC
   
 
Should Start On:  Wed 03 Feb 2010 11:00:00 PM UTC Should be Finished on:  Wed 03 Feb 2010 11:00:00 PM UTC
Category:  database Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  mpetazzoni Percent Complete:  100%
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Feb 2010 12:02:31 PM UTC, comment #2: 

The database check/repair utility is ready and working. To run:

  .../scripts/wrapper.py scripts/dbck.py

An additional --dry-run option can be given to only see what would be done instead of modifying the database.

It has been successfully used on the development instance's database to mark jobs as obsolete (and fix the missing map_language entries).

Maxime Petazzoni <mpetazzoni>
Group administrator
Thu 11 Feb 2010 02:19:54 PM UTC, comment #1: 

I have a database check/repair utility ready. I'll roll-out the new cleanup mechanism and daemon tomorrow on dev.maposmatic.org and run the database fix on maposmatic-dev.

I'll monitor the logs and good operation of the pipeline over the week-end.

Maxime Petazzoni <mpetazzoni>
Group administrator
Thu 04 Feb 2010 04:42:25 PM UTC, original submission:  

After integrating the daemon-rewrite branch, we need to update the status of all jobs in the database and switch the jobs that don't have their files around anymore to 3.

A simple Python script could be written for that.

Maxime Petazzoni <mpetazzoni>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mpetazzoni (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-17 mpetazzoni StatusPatch exists Done
        Percent Complete80% 100%
        Open/ClosedOpen Closed
    2010-02-11 mpetazzoni StatusNone Patch exists
        Percent Complete0% 80%

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code