Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Reverse test messed the creation of partition tables; more debugging | d820816c2624549e0b0e1634523717cda0b7ba66 | Catalin(ux) M. BOIE | 2020-06-05 17:33:08 |
We need to prepare the partition tables before some inserts | 07a12d1c79104b4707a9d43463fa9c11a4697293 | Catalin(ux) M. BOIE | 2020-06-05 15:55:43 |
.spec updates | 5fe0aca1b4a3bfd8c1c8db95409faf512ad09b43 | Catalin(ux) M. BOIE | 2020-06-04 22:03:57 |
Switch to Podman (because of Fedora 32) and fix the worker service in the spec file | 05b3866cd09b0aa8367d3b5755f45ea7274658de | Catalin(ux) M. BOIE | 2020-06-04 15:50:41 |
Added sample configuration for workers | df36ccd20e40987a4ca2355062ee1312aa2ee3a2 | Catalin(ux) M. BOIE | 2020-06-04 15:14:52 |
Avoid complains from install for systemd daemon-reload | 683a92542cc0608293ceefc111a05e1eb328a2d8 | Catalin(ux) M. BOIE | 2020-06-04 15:09:57 |
Small stuff | e64a838d032e54587ab3110ab8bb04a0cde78231 | Catalin(ux) M. BOIE | 2020-06-04 14:49:56 |
Lots of changes | b8164d9e1e263eb4db75e32430f0753b63d0028e | Catalin(ux) M. BOIE | 2020-06-04 07:14:35 |
Lots of small fixes and functional tests | ad2c8f4ce214896cb5984031dbd916467878ccfd | Catalin(ux) M. BOIE | 2020-05-16 09:30:47 |
Lots of things, mostly worker fixes | 8768227306ef89ecc51d392cf986e75a7044dde4 | Catalin(ux) M. BOIE | 2020-04-10 15:27:11 |
Added functional test for HTTP 304 code | 93205ec14d1073c434360abf7ea525a75407b1ab | Catalin(ux) M. BOIE | 2020-04-02 14:05:49 |
Lots of changes all over the place | 3ddbd9e686f514eed1e715d7702a910ca3f8b22c | Catalin(ux) M. BOIE | 2020-04-01 07:17:57 |
More tests updates | d5d45ace725f6ab336998a328136a2f7f9474df1 | Catalin(ux) M. BOIE | 2020-04-01 05:30:54 |
Lots of tests updates | 183c4af52e56ae4e4fd74a35e2b17ac79952aec6 | Catalin(ux) M. BOIE | 2020-03-20 16:10:33 |
Improved a little bit the mail reporting for admin | 576f96d554b1e273391ac54404bf5f885325e5e8 | Catalin(ux) M. BOIE | 2020-03-03 19:25:17 |
Worker and builder big changes | 90f596e4fd8fa291b1da831bce609b486c7a5875 | Catalin(ux) M. BOIE | 2020-01-06 13:31:20 |
Samples update (switch to systemd services for builder and worker) | 8bfde1fb79778d024350bf5d75f076fb5e178512 | Catalin(ux) M. BOIE | 2020-01-06 12:50:21 |
builder: show queue in the web page | 6cab7820b0bd2622afb77391a9e9515e0e837eef | Catalin(ux) M. BOIE | 2020-01-06 12:49:26 |
totp: Allow also years for 'val' command | d666df0cec948f938469b9eb12a1b981cb41cfa1 | Catalin(ux) M. BOIE | 2020-01-04 14:39:33 |
worker: change git clone parameters because we could not clone | 8eb2727ac17e12e148f39c72e1f4bd1e31319b33 | Catalin(ux) M. BOIE | 2019-12-19 03:34:26 |
File | Lines added | Lines deleted |
---|---|---|
inc/struct.inc.php | 5 | 4 |
inc/util.inc.php | 2 | 1 |
File inc/struct.inc.php changed (mode: 100644) (index 9a5e93b..4a717c6) | |||
... | ... | function rg_sql_struct_slaves_update($db) | |
935 | 935 | $year = gmdate('Y', $last_ts); | $year = gmdate('Y', $last_ts); |
936 | 936 | $ts = gmmktime(0, 0, 0, $month, 1, $year); | $ts = gmmktime(0, 0, 0, $month, 1, $year); |
937 | 937 | $stop_ts = gmmktime(0, 0, 0, gmdate('m') + 1, 1, gmdate('Y')); | $stop_ts = gmmktime(0, 0, 0, gmdate('m') + 1, 1, gmdate('Y')); |
938 | rg_log('DEBUG: ts=' . $ts . ' stop_ts=' . $stop_ts . ' month=' . $month); | ||
938 | 939 | while ($ts <= $stop_ts) { | while ($ts <= $stop_ts) { |
939 | 940 | $month++; | $month++; |
940 | 941 | $next_ts = gmmktime(0, 0, 0, $month, 1, $year); | $next_ts = gmmktime(0, 0, 0, $month, 1, $year); |
... | ... | function rg_sql_struct_slaves_update($db) | |
989 | 990 | rg_sql_free_result($res); | rg_sql_free_result($res); |
990 | 991 | } | } |
991 | 992 | } | } |
992 | if ($ok !== FALSE) | ||
993 | if ($ok !== TRUE) | ||
993 | 994 | break; | break; |
994 | 995 | } | } |
995 | 996 | if ($ok !== TRUE) | if ($ok !== TRUE) |
... | ... | function rg_sql_struct_slaves_update($db) | |
1006 | 1007 | break; | break; |
1007 | 1008 | } | } |
1008 | 1009 | ||
1010 | if (rg_sql_commit($db) !== TRUE) | ||
1011 | break; | ||
1012 | |||
1009 | 1013 | $r = rg_state_set($db, 'slaves_create_last_list', $cur_list); | $r = rg_state_set($db, 'slaves_create_last_list', $cur_list); |
1010 | 1014 | if ($r !== TRUE) { | if ($r !== TRUE) { |
1011 | 1015 | rg_log('Cannot set slaves_create_last_list (' . rg_state_error() . ')'); | rg_log('Cannot set slaves_create_last_list (' . rg_state_error() . ')'); |
1012 | 1016 | break; | break; |
1013 | 1017 | } | } |
1014 | 1018 | ||
1015 | if (rg_sql_commit($db) !== TRUE) | ||
1016 | break; | ||
1017 | |||
1018 | 1019 | $rollback = 0; | $rollback = 0; |
1019 | 1020 | $ret = TRUE; | $ret = TRUE; |
1020 | 1021 | break; | break; |
File inc/util.inc.php changed (mode: 100644) (index d2f54af..2d5c1a8) | |||
... | ... | function rg_lock($file) | |
180 | 180 | return FALSE; | return FALSE; |
181 | 181 | } | } |
182 | 182 | ||
183 | if (!flock($f, LOCK_EX | LOCK_NB)) { | ||
183 | if (!@flock($f, LOCK_EX | LOCK_NB)) { | ||
184 | rg_log('Cannot lock: ' . rg_php_err()); | ||
184 | 185 | fclose($f); | fclose($f); |
185 | 186 | return FALSE; | return FALSE; |
186 | 187 | } | } |