Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

[#436] Conflict between 2 CRON

Date:
2012-06-01 13:02
Priority:
3
State:
Closed
Submitted by:
Pascal Parmentier (pparmentier)
Assigned to:
Nobody (None)
Target Release:
5.3
Found in Version:
5.1
Severity:
none
Resolution:
Fixed
Summary:
Conflict between 2 CRON

Detailed description
I found a conflict between create_scm_repos.php and gather_scm_stats.php at 2:00 AM

I got the following message from create_scm_repos.php:
SQL: INSERT INTO user_session (session_hash,ip_addr,time,user_id) VALUES ($1,$2,$3,$4)
SQL> ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « session_pkey »

I made a patch to the file .. / gforge / packaging / cron.d / fusionforge gather_scm_stats.php to start at 2:15 instead of 2:00.

There are also 2 files db-postgresql and cron.fusionforge it would probably also change.
Message  ↓
Date: 2013-12-06 13:13
Sender: Roland Mas

Fixed in master (which will become 5.3).

Attachments:
Size Name Date By Download
528 bytes87818-cron_conflict_gather_scm_stats_create_scm_repos.patch2012-06-01 13:02pparmentier87818-cron_conflict_gather_scm_stats_create_scm_repos.patch
Field Old Value Date By
status_idOpen2013-12-06 13:13lolando
close_dateNone2013-12-06 13:13lolando
Target ReleaseNone2013-12-06 13:13lolando
ResolutionNone2013-12-06 13:13lolando
Target Release5.2.12013-04-27 13:05nerville
Target Release5.22012-10-28 10:03nerville
File Added246: 87818-cron_conflict_gather_scm_stats_create_scm_repos.patch2012-06-01 13:02pparmentier