Commit 1993e00
authored
Reworked append-table tests, improved coverage or snapshot isolation level, revisit serializable coverage. (#127)
* Added transaction isolation level to YSQL workloads and appended tests.
* Rename RC_OL_TEST timeout variable and adjust concurrency for append-table test.
* Updated `run-jepsen.py` to include `has_valid_unknown` support and adjusted concurrency for `append-table` tests.
* Reduced YSQL serializable test coverage in `run-jepsen.py` to align with RC and SI focus.
* Reduced YSQL serializable test coverage in `run-jepsen.py` to align with RC and SI focus.
* Removed `sz.pl.geo.append` tests from YSQL workloads in `run-jepsen.py` to streamline test coverage.
* Added dedicated table-specific workloads (`SI`, `RC`, `Serializable`) for `append-table` tests and updated core mappings in YSQL workloads. Removed unnecessary log statements.
* Updated `append-table` to use deterministic primary key for consistent ordering, replaced `insert!` with `insert-using-count!`, and streamlined transaction handling logic.
* Added logging to indicate whether queries use `IndexOnlyScan` or `SeqScan` across YSQL workloads.
* Added detailed logging for table creation and indexing in `append_table` and fixed JVM options typo in `project.clj`.
* Added detailed logging for table creation and indexing in `append_table` and fixed JVM options typo in `project.clj`.
* Added detailed logging for table creation and indexing in `append_table` and fixed JVM options typo in `project.clj`.
* Added detailed logging for table creation and indexing in `append_table` and fixed JVM options typo in `project.clj`.
* Added detailed logging for table creation and indexing in `append_table` and fixed JVM options typo in `project.clj`.
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Expanded YSQL test coverage by adding new Serializable isolation tests.1 parent de56b99 commit 1993e00
File tree
15 files changed
+309
-111
lines changed- yugabyte
- src/yugabyte
- ysql
15 files changed
+309
-111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | | - | |
124 | 121 | | |
125 | 122 | | |
| 123 | + | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 128 | + | |
136 | 129 | | |
137 | 130 | | |
138 | | - | |
| 131 | + | |
139 | 132 | | |
140 | 133 | | |
141 | 134 | | |
| 135 | + | |
142 | 136 | | |
143 | 137 | | |
144 | | - | |
| 138 | + | |
145 | 139 | | |
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
149 | 143 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
156 | 147 | | |
157 | 148 | | |
158 | 149 | | |
| 150 | + | |
159 | 151 | | |
160 | 152 | | |
161 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
186 | 197 | | |
187 | 198 | | |
188 | 199 | | |
| 200 | + | |
| 201 | + | |
189 | 202 | | |
190 | | - | |
| 203 | + | |
191 | 204 | | |
192 | 205 | | |
193 | 206 | | |
| |||
290 | 303 | | |
291 | 304 | | |
292 | 305 | | |
| 306 | + | |
293 | 307 | | |
294 | 308 | | |
295 | 309 | | |
296 | 310 | | |
297 | 311 | | |
298 | 312 | | |
299 | 313 | | |
| 314 | + | |
| 315 | + | |
300 | 316 | | |
301 | 317 | | |
302 | 318 | | |
| |||
305 | 321 | | |
306 | 322 | | |
307 | 323 | | |
308 | | - | |
| 324 | + | |
| 325 | + | |
309 | 326 | | |
310 | 327 | | |
311 | 328 | | |
| |||
395 | 412 | | |
396 | 413 | | |
397 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
398 | 424 | | |
399 | 425 | | |
400 | 426 | | |
| |||
448 | 474 | | |
449 | 475 | | |
450 | 476 | | |
| 477 | + | |
| 478 | + | |
451 | 479 | | |
452 | 480 | | |
453 | 481 | | |
454 | 482 | | |
455 | 483 | | |
456 | 484 | | |
457 | | - | |
| 485 | + | |
| 486 | + | |
458 | 487 | | |
459 | 488 | | |
460 | 489 | | |
| |||
464 | 493 | | |
465 | 494 | | |
466 | 495 | | |
467 | | - | |
| 496 | + | |
468 | 497 | | |
469 | 498 | | |
470 | 499 | | |
| |||
496 | 525 | | |
497 | 526 | | |
498 | 527 | | |
499 | | - | |
500 | | - | |
| 528 | + | |
| 529 | + | |
501 | 530 | | |
502 | 531 | | |
| 532 | + | |
503 | 533 | | |
| 534 | + | |
504 | 535 | | |
505 | 536 | | |
506 | 537 | | |
| |||
534 | 565 | | |
535 | 566 | | |
536 | 567 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
541 | 572 | | |
542 | 573 | | |
543 | 574 | | |
544 | | - | |
545 | | - | |
546 | | - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
547 | 578 | | |
548 | 579 | | |
549 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
486 | 525 | | |
487 | 526 | | |
488 | 527 | | |
| |||
544 | 583 | | |
545 | 584 | | |
546 | 585 | | |
| 586 | + | |
| 587 | + | |
547 | 588 | | |
548 | 589 | | |
549 | 590 | | |
| |||
565 | 606 | | |
566 | 607 | | |
567 | 608 | | |
| 609 | + | |
| 610 | + | |
568 | 611 | | |
569 | 612 | | |
570 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
111 | 109 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 110 | + | |
| 111 | + | |
116 | 112 | | |
117 | 113 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 114 | + | |
| 115 | + | |
122 | 116 | | |
123 | 117 | | |
124 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
0 commit comments