File tree Expand file tree Collapse file tree 7 files changed +2
-95
lines changed Expand file tree Collapse file tree 7 files changed +2
-95
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
[next.jdbc.sql :as sql]
11
11
[tarantool [client :as cl]
12
12
[db :as db]]
13
- [jepsen.core :as jepsen]
14
- [knossos.model :as model]
15
13
[knossos.op :as op]))
16
14
17
15
(def table-name " counter" )
Original file line number Diff line number Diff line change 3
3
[clojure.string :as str]
4
4
[clojure.java.io :as io]
5
5
[next.jdbc :as j]
6
- [next.jdbc.connection :as connection]
7
6
[tarantool.client :as cl]
8
7
[jepsen.os.debian :as debian]
9
8
[jepsen.control.util :as cu]
Original file line number Diff line number Diff line change 1
1
(ns tarantool.nemesis
2
2
" Nemeses for Tarantool"
3
- (:require [clojure.pprint :refer [pprint]]
4
- [clojure.tools.logging :refer [info warn]]
5
- [dom-top.core :refer [real-pmap]]
6
- [jepsen [nemesis :as n]
7
- [net :as net]
8
- [util :as util]]
9
- [jepsen.generator :as gen]
10
- [jepsen.nemesis [combined :as nc]
11
- [time :as nt]]))
3
+ (:require [clojure.tools.logging :refer [info warn]]
4
+ [jepsen.nemesis [combined :as nc]]))
12
5
13
6
(defn nemesis-package
14
7
" Constructs a nemesis and generators for Tarantool"
Original file line number Diff line number Diff line change 9
9
[control :as c]
10
10
[independent :as independent]
11
11
[generator :as gen]
12
- [nemesis :as nemesis]
13
- [tests :as tests]
14
12
[util :refer [timeout meh]]]
15
13
[next.jdbc :as j]
16
14
[next.jdbc.sql :as sql]
17
15
[knossos.model :as model]
18
16
[jepsen.checker.timeline :as timeline]
19
- [jepsen.os.ubuntu :as ubuntu]
20
17
[tarantool [client :as cl]
21
18
[db :as db]]))
22
19
Original file line number Diff line number Diff line change 15
15
[tests :as tests]
16
16
[util :refer [timeout meh]]]
17
17
[jepsen.checker.timeline :as timeline]
18
- ; [knossos.model :as model]
19
18
[jepsen.os.ubuntu :as ubuntu]
20
19
[tarantool [db :as db]
21
20
[errcode :as err]
42
41
a keyword here instead."
43
42
{:set sets/workload
44
43
:counter-inc counter/workload-inc
45
- ; :bank bank/workload
46
- ; :bank-index bank/index-workload
47
- ; :g2 g2/workload
48
- ; :internal internal/workload
49
- ; :monotonic monotonic/workload
50
- ; :multimonotonic multimonotonic/workload
51
- ; :pages pages/workload
52
44
:register register/workload})
53
45
54
46
(def standard-workloads
59
51
" A collection of workload names which we expect should actually pass."
60
52
(remove #{} standard-workloads))
61
53
62
- (def workload-options
63
- " For each workload, a map of workload options to all the values that option
64
- supports."
65
- {; :set {:serialized-indices [true false]
66
- ; :strong-read [true false]}
67
- ; :bank {:fixed-instances [true false]
68
- ; :at-query [true false]}
69
- ; :bank-index {:fixed-instances [true false]
70
- ; :serialized-indices [true false]}
71
- ; :g2 {:serialized-indices [true false]}
72
- ; :internal {:serialized-indices [true false]}
73
- ; :monotonic {:at-query-jitter [0 10000 100000]}
74
- ; :multimonotonic {}
75
- ; :pages {:serialized-indices [true false]}
76
- :register {}})
77
-
78
54
(def nemeses
79
55
" Types of faults a nemesis can create."
80
56
#{:pause :kill :partition :clock })
Original file line number Diff line number Diff line change 12
12
[tarantool [client :as cl]
13
13
[db :as db]]
14
14
[jepsen.core :as jepsen]
15
- [knossos.model :as model]
16
15
[knossos.op :as op]))
17
16
18
17
(def table-name " sets" )
You can’t perform that action at this time.
0 commit comments