Megatest

Check-in [3db414f444]
Login
Overview
Comment:Bit better
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.80
Files: files | file ages | folders
SHA1: 3db414f444b0b8ecad3e244f1d35749d361658f4
User & Date: matt on 2023-03-11 14:40:34
Other Links: branch diff | manifest | tags
Context
2023-03-11
17:12
This seems to be working but it should not. check-in: ab6d2aae1a user: matt tags: v1.80
14:40
Bit better check-in: 3db414f444 user: matt tags: v1.80
13:10
Partially complete update to configuration' check-in: 0f8bf614e9 user: matt tags: v1.80
Changes

Modified dashboard-transport-mode.scm.template from [e2fa9f346c] to [11933b2545].

1
2
3
4
5
6
7
8
9
10
11

12
13
14









15
1
2
3
4
5
6
7
8
9
10
11
12



13
14
15
16
17
18
19
20
21
22











+
-
-
-
+
+
+
+
+
+
+
+
+

;;======================================================================
;; set up transport, db cache and sync methods
;;
;; sync-method:        'original, 'attach or 'none
;; cache-method:       'tmp, 'inmem or 'none
;; rmt:transport-mode: 'http, 'tcp, 'nfs
;;
;; NOTE: NOT ALL COMBINATIONS WORK
;;
;;======================================================================

;; uncomment this block to test without tcp or inmem
(dbfile:sync-method 'none)
(dbfile:cache-method 'none)
(rmt:transport-mode 'nfs)
;; (dbfile:sync-method 'none)
;; (dbfile:cache-method 'none)
;; (rmt:transport-mode 'nfs)

;; uncomment this block to test with tcp and inmem
(dbfile:sync-method 'attach)
(dbfile:cache-method 'inmem)
(rmt:transport-mode 'tcp)


Modified dbmod.scm from [575706269e] to [afcc4b5172].

104
105
106
107
108
109
110
111

112
113
114
115
116
117
118
104
105
106
107
108
109
110

111
112
113
114
115
116
117
118







-
+








(define (dbmod:need-on-disk-db-handle)
    (case (dbfile:cache-method)
      ((none tmp) #t)
      ((inmem)
       (case (dbfile:sync-method)
	 ((original) #t)
	 ((attach)   #f)
	 ((attach)   #t) ;; we need it to force creation of the on-disk file - FIXME
	 (else
	  (debug:print 0 *default-log-port* "Unknown dbfile:sync-method setting: "
		       (dbfile:sync-method)))))
      (else
       (debug:print 0 *default-log-port* "Unknown dbfile:cache-method setting: "
		    (dbfile:cache-method))
       #f)))

Modified transport-mode.scm.template from [5fb858b45e] to [11933b2545].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15



16
17
18
19
20



21
22
1
2
3
4
5
6
7
8
9
10
11
12



13
14
15
16
17



18
19
20
21
22












-
-
-
+
+
+


-
-
-
+
+
+


;;======================================================================
;; set up transport, db cache and sync methods
;;
;; sync-method:        'original, 'attach or 'none
;; cache-method:       'tmp, 'inmem or 'none
;; rmt:transport-mode: 'http, 'tcp, 'nfs
;;
;; NOTE: NOT ALL COMBINATIONS WORK
;;
;;======================================================================

;; uncomment this block to test without tcp or inmem
(dbfile:sync-method 'none)
(dbfile:cache-method 'none)
(rmt:transport-mode 'nfs)
;; (dbfile:sync-method 'none)
;; (dbfile:cache-method 'none)
;; (rmt:transport-mode 'nfs)

;; uncomment this block to test with tcp and inmem
(dbfile:sync-method 'none)
(dbfile:cache-method 'none)
(rmt:transport-mode 'nfs)
(dbfile:sync-method 'attach)
(dbfile:cache-method 'inmem)
(rmt:transport-mode 'tcp)