Changes In Branch v1.7001-multi-db-rb01 Through [29e828ea6d] Excluding Merge-Ins
This is equivalent to a diff from 1e0521fd4f to 29e828ea6d
2022-05-15
| ||
04:56 | Merged all v1.7001-multi-db changes into one commit to rebase forward Closed-Leaf check-in: d9f5072bcb user: matt tags: v1.7001-multi-db-for-rebase | |
2022-05-13
| ||
09:56 | Added global-waiton support. Add !GLOBAL_WAITONS test1 test2 ... to your target or default in runconfigs.config. check-in: 7f7aaa214f user: mrwellan tags: v1.65 | |
2022-05-09
| ||
07:30 | merged fork check-in: 782400400d user: matt tags: v1.7001-multi-db-rb01 | |
2022-05-04
| ||
17:30 | Set timeout to small number check-in: 29e828ea6d user: mrwellan tags: v1.7001-multi-db-rb01 | |
2022-05-02
| ||
11:29 | WIP Fixed db:sync-touched and db:sync-tables. Disabled watchdog threads. Will use only keep-running thread. check-in: c597d4e8cf user: mmgraham tags: v1.7001-multi-db-rb01 | |
2022-03-27
| ||
19:58 | Cherry pick from 400675ea9b: *CURRENT* rmt:get-keys now working check-in: 02a4ce1a44 user: matt tags: v1.7001-multi-db-rb01 | |
2022-03-25
| ||
17:33 | changed megatest version to 1.6592 check-in: 1e0521fd4f user: mmgraham tags: v1.65, v1.6592 | |
17:31 | implemented a new set of args for db triggers. HSD 14015846056 check-in: 1d4ef2418c user: mmgraham tags: v1.65 | |
Modified Makefile from [dd76a98688] to [86d5260f44].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - - + + - + + + + + | SHELL=/bin/bash PREFIX=$(PWD) CSCOPTS= INSTALL=install SRCFILES = common.scm items.scm launch.scm ods.scm runconfig.scm \ server.scm configf.scm db.scm keys.scm margs.scm \ process.scm runs.scm tasks.scm tests.scm genexample.scm \ |
︙ | |||
160 161 162 163 164 165 166 | 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | - + - + | tests.o db.o launch.o runs.o dashboard-tests.o \ dashboard-context-menu.o dashboard-guimonitor.o dashboard-main.o \ monitor.o dashboard.o archive.o megatest.o : db_records.scm megatest-fossil-hash.scm tests.o runs.o dashboard.o dashboard-tests.o dashboard-context-menu.o dashboard-main.o : run_records.scm db.o ezsteps.o keys.o launch.o megatest.o monitor.o runs-for-ref.o runs.o tests.o : key_records.scm |
︙ | |||
453 454 455 456 457 458 459 | 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | - - + + | if csi -ne '(use mysql-client)';then \ echo "(use mysql-client)(hash-table-set! *available-db* 'mysql #t)" >> altdb.scm; \ fi if csi -ne '(use postgresql)';then \ echo "(use postgresql)(hash-table-set! *available-db* 'postgresql #t)" >> altdb.scm;\ fi |
︙ |
Modified api.scm from [c2c4883b3a] to [b65cdceb6b].
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + | (use srfi-69 posix) (declare (unit api)) (declare (uses rmt)) (declare (uses db)) (declare (uses dbmod)) (declare (uses dbfile)) (declare (uses tasks)) (import dbmod) (import dbfile) ;; allow these queries through without starting a server ;; (define api:read-only-queries '(get-key-val-pairs get-var get-keys |
︙ | |||
142 143 144 145 146 147 148 149 150 151 152 153 154 155 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | + | ;; These are called by the server on recipt of /api calls ;; - keep it simple, only return the actual result of the call, i.e. no meta info here ;; ;; - returns #( flag result ) ;; (define (api:execute-requests dbstruct dat) (db:open-no-sync-db) ;; sets *no-sync-db* (handle-exceptions exn (let ((call-chain (get-call-chain))) (debug:print 0 *default-log-port* "WARNING: api:execute-requests received an exception from peer, dat=" dat ", exn=" exn) (print-call-chain (current-error-port)) (debug:print 0 *default-log-port* " message: " ((condition-property-accessor 'exn 'message) exn)) (vector #f (vector exn call-chain dat))) ;; return some stuff for debug if an exception happens |
︙ | |||
340 341 342 343 344 345 346 | 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | - + | ;; MISC ((get-latest-host-load) (apply db:get-latest-host-load dbstruct params)) ((have-incompletes?) (apply db:have-incompletes? dbstruct params)) ((login) (apply db:login dbstruct params)) ((general-call) (let ((stmtname (car params)) (run-id (cadr params)) (realparams (cddr params))) |
︙ |
Modified archive.scm from [35b9e5966e] to [9231707c41].
︙ | |||
395 396 397 398 399 400 401 | 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | - + | (let* ((bup-exe (or (configf:lookup *configdat* "archive" "bup") "bup")) (archive-internal-path (conc (common:get-testsuite-name) "-megatest-db/" ts "/megatest.db" )) (bup-restore-params (list "-d" archive-path "restore" "-C" *toppath* archive-internal-path))) (debug:print-info 2 *default-log-port* "Restoring archived data to " *toppath* " from archive in " archive-path " ... " archive-internal-path) (run-n-wait bup-exe params: bup-restore-params print-cmd: "Running:")) (sleep 2) (db:multi-db-sync |
︙ |
Added attic/filedb.scm version [f18fb77b48].