Debian Codegraph @

testdata/transactions/legacy/mongos-pin-auto.json

raw symbols SCIP
1 {
2 "runOn": [
3 {
4 "minServerVersion": "4.1.8",
5 "topology": [
6 "sharded"
7 ],
8 "serverless": "forbid"
9 }
10 ],
11 "database_name": "transaction-tests",
12 "collection_name": "test",
13 "data": [
14 {
15 "_id": 1
16 },
17 {
18 "_id": 2
19 }
20 ],
21 "tests": [
22 {
23 "description": "remain pinned after non-transient Interrupted error on insertOne",
24 "useMultipleMongoses": true,
25 "operations": [
26 {
27 "name": "startTransaction",
28 "object": "session0"
29 },
30 {
31 "name": "insertOne",
32 "object": "collection",
33 "arguments": {
34 "session": "session0",
35 "document": {
36 "_id": 3
37 }
38 },
39 "result": {
40 "insertedId": 3
41 }
42 },
43 {
44 "name": "targetedFailPoint",
45 "object": "testRunner",
46 "arguments": {
47 "session": "session0",
48 "failPoint": {
49 "configureFailPoint": "failCommand",
50 "mode": {
51 "times": 1
52 },
53 "data": {
54 "failCommands": [
55 "insert"
56 ],
57 "errorCode": 11601
58 }
59 }
60 }
61 },
62 {
63 "name": "insertOne",
64 "object": "collection",
65 "arguments": {
66 "session": "session0",
67 "document": {
68 "_id": 4
69 }
70 },
71 "result": {
72 "errorLabelsOmit": [
73 "TransientTransactionError",
74 "UnknownTransactionCommitResult"
75 ],
76 "errorCodeName": "Interrupted"
77 }
78 },
79 {
80 "name": "assertSessionPinned",
81 "object": "testRunner",
82 "arguments": {
83 "session": "session0"
84 }
85 },
86 {
87 "name": "commitTransaction",
88 "object": "session0"
89 }
90 ],
91 "expectations": [
92 {
93 "command_started_event": {
94 "command": {
95 "insert": "test",
96 "documents": [
97 {
98 "_id": 3
99 }
100 ],
101 "ordered": true,
102 "readConcern": null,
103 "lsid": "session0",
104 "txnNumber": {
105 "$numberLong": "1"
106 },
107 "startTransaction": true,
108 "autocommit": false,
109 "writeConcern": null
110 },
111 "command_name": "insert",
112 "database_name": "transaction-tests"
113 }
114 },
115 {
116 "command_started_event": {
117 "command": {
118 "insert": "test",
119 "documents": [
120 {
121 "_id": 4
122 }
123 ],
124 "ordered": true,
125 "readConcern": null,
126 "lsid": "session0",
127 "txnNumber": {
128 "$numberLong": "1"
129 },
130 "startTransaction": null,
131 "autocommit": false,
132 "writeConcern": null
133 },
134 "command_name": "insert",
135 "database_name": "transaction-tests"
136 }
137 },
138 {
139 "command_started_event": {
140 "command": {
141 "commitTransaction": 1,
142 "lsid": "session0",
143 "txnNumber": {
144 "$numberLong": "1"
145 },
146 "startTransaction": null,
147 "autocommit": false,
148 "writeConcern": null,
149 "recoveryToken": 42
150 },
151 "command_name": "commitTransaction",
152 "database_name": "admin"
153 }
154 }
155 ],
156 "outcome": {
157 "collection": {
158 "data": [
159 {
160 "_id": 1
161 },
162 {
163 "_id": 2
164 },
165 {
166 "_id": 3
167 }
168 ]
169 }
170 }
171 },
172 {
173 "description": "unpin after transient error within a transaction",
174 "useMultipleMongoses": true,
175 "operations": [
176 {
177 "name": "startTransaction",
178 "object": "session0"
179 },
180 {
181 "name": "insertOne",
182 "object": "collection",
183 "arguments": {
184 "session": "session0",
185 "document": {
186 "_id": 3
187 }
188 },
189 "result": {
190 "insertedId": 3
191 }
192 },
193 {
194 "name": "targetedFailPoint",
195 "object": "testRunner",
196 "arguments": {
197 "session": "session0",
198 "failPoint": {
199 "configureFailPoint": "failCommand",
200 "mode": {
201 "times": 1
202 },
203 "data": {
204 "failCommands": [
205 "insert"
206 ],
207 "closeConnection": true
208 }
209 }
210 }
211 },
212 {
213 "name": "insertOne",
214 "object": "collection",
215 "arguments": {
216 "session": "session0",
217 "document": {
218 "_id": 4
219 }
220 },
221 "result": {
222 "errorLabelsContain": [
223 "TransientTransactionError"
224 ],
225 "errorLabelsOmit": [
226 "UnknownTransactionCommitResult"
227 ]
228 }
229 },
230 {
231 "name": "assertSessionUnpinned",
232 "object": "testRunner",
233 "arguments": {
234 "session": "session0"
235 }
236 },
237 {
238 "name": "abortTransaction",
239 "object": "session0"
240 }
241 ],
242 "expectations": [
243 {
244 "command_started_event": {
245 "command": {
246 "insert": "test",
247 "documents": [
248 {
249 "_id": 3
250 }
251 ],
252 "ordered": true,
253 "readConcern": null,
254 "lsid": "session0",
255 "txnNumber": {
256 "$numberLong": "1"
257 },
258 "startTransaction": true,
259 "autocommit": false,
260 "writeConcern": null
261 },
262 "command_name": "insert",
263 "database_name": "transaction-tests"
264 }
265 },
266 {
267 "command_started_event": {
268 "command": {
269 "insert": "test",
270 "documents": [
271 {
272 "_id": 4
273 }
274 ],
275 "ordered": true,
276 "readConcern": null,
277 "lsid": "session0",
278 "txnNumber": {
279 "$numberLong": "1"
280 },
281 "startTransaction": null,
282 "autocommit": false,
283 "writeConcern": null
284 },
285 "command_name": "insert",
286 "database_name": "transaction-tests"
287 }
288 },
289 {
290 "command_started_event": {
291 "command": {
292 "abortTransaction": 1,
293 "lsid": "session0",
294 "txnNumber": {
295 "$numberLong": "1"
296 },
297 "startTransaction": null,
298 "autocommit": false,
299 "writeConcern": null,
300 "recoveryToken": 42
301 },
302 "command_name": "abortTransaction",
303 "database_name": "admin"
304 }
305 }
306 ],
307 "outcome": {
308 "collection": {
309 "data": [
310 {
311 "_id": 1
312 },
313 {
314 "_id": 2
315 }
316 ]
317 }
318 }
319 },
320 {
321 "description": "remain pinned after non-transient Interrupted error on insertOne insert",
322 "useMultipleMongoses": true,
323 "operations": [
324 {
325 "name": "startTransaction",
326 "object": "session0"
327 },
328 {
329 "name": "insertOne",
330 "object": "collection",
331 "arguments": {
332 "session": "session0",
333 "document": {
334 "_id": 3
335 }
336 },
337 "result": {
338 "insertedId": 3
339 }
340 },
341 {
342 "name": "targetedFailPoint",
343 "object": "testRunner",
344 "arguments": {
345 "session": "session0",
346 "failPoint": {
347 "configureFailPoint": "failCommand",
348 "mode": {
349 "times": 1
350 },
351 "data": {
352 "failCommands": [
353 "insert"
354 ],
355 "errorCode": 11601
356 }
357 }
358 }
359 },
360 {
361 "name": "insertOne",
362 "object": "collection",
363 "arguments": {
364 "session": "session0",
365 "document": {
366 "_id": 4
367 }
368 },
369 "result": {
370 "errorLabelsOmit": [
371 "TransientTransactionError"
372 ]
373 }
374 },
375 {
376 "name": "assertSessionPinned",
377 "object": "testRunner",
378 "arguments": {
379 "session": "session0"
380 }
381 },
382 {
383 "name": "abortTransaction",
384 "object": "session0"
385 }
386 ],
387 "outcome": {
388 "collection": {
389 "data": [
390 {
391 "_id": 1
392 },
393 {
394 "_id": 2
395 }
396 ]
397 }
398 }
399 },
400 {
401 "description": "remain pinned after non-transient Interrupted error on insertMany insert",
402 "useMultipleMongoses": true,
403 "operations": [
404 {
405 "name": "startTransaction",
406 "object": "session0"
407 },
408 {
409 "name": "insertOne",
410 "object": "collection",
411 "arguments": {
412 "session": "session0",
413 "document": {
414 "_id": 3
415 }
416 },
417 "result": {
418 "insertedId": 3
419 }
420 },
421 {
422 "name": "targetedFailPoint",
423 "object": "testRunner",
424 "arguments": {
425 "session": "session0",
426 "failPoint": {
427 "configureFailPoint": "failCommand",
428 "mode": {
429 "times": 1
430 },
431 "data": {
432 "failCommands": [
433 "insert"
434 ],
435 "errorCode": 11601
436 }
437 }
438 }
439 },
440 {
441 "name": "insertMany",
442 "object": "collection",
443 "arguments": {
444 "session": "session0",
445 "documents": [
446 {
447 "_id": 4
448 },
449 {
450 "_id": 5
451 }
452 ]
453 },
454 "result": {
455 "errorLabelsOmit": [
456 "TransientTransactionError"
457 ]
458 }
459 },
460 {
461 "name": "assertSessionPinned",
462 "object": "testRunner",
463 "arguments": {
464 "session": "session0"
465 }
466 },
467 {
468 "name": "abortTransaction",
469 "object": "session0"
470 }
471 ],
472 "outcome": {
473 "collection": {
474 "data": [
475 {
476 "_id": 1
477 },
478 {
479 "_id": 2
480 }
481 ]
482 }
483 }
484 },
485 {
486 "description": "remain pinned after non-transient Interrupted error on updateOne update",
487 "useMultipleMongoses": true,
488 "operations": [
489 {
490 "name": "startTransaction",
491 "object": "session0"
492 },
493 {
494 "name": "insertOne",
495 "object": "collection",
496 "arguments": {
497 "session": "session0",
498 "document": {
499 "_id": 3
500 }
501 },
502 "result": {
503 "insertedId": 3
504 }
505 },
506 {
507 "name": "targetedFailPoint",
508 "object": "testRunner",
509 "arguments": {
510 "session": "session0",
511 "failPoint": {
512 "configureFailPoint": "failCommand",
513 "mode": {
514 "times": 1
515 },
516 "data": {
517 "failCommands": [
518 "update"
519 ],
520 "errorCode": 11601
521 }
522 }
523 }
524 },
525 {
526 "name": "updateOne",
527 "object": "collection",
528 "arguments": {
529 "session": "session0",
530 "filter": {
531 "_id": 1
532 },
533 "update": {
534 "$inc": {
535 "x": 1
536 }
537 }
538 },
539 "result": {
540 "errorLabelsOmit": [
541 "TransientTransactionError"
542 ]
543 }
544 },
545 {
546 "name": "assertSessionPinned",
547 "object": "testRunner",
548 "arguments": {
549 "session": "session0"
550 }
551 },
552 {
553 "name": "abortTransaction",
554 "object": "session0"
555 }
556 ],
557 "outcome": {
558 "collection": {
559 "data": [
560 {
561 "_id": 1
562 },
563 {
564 "_id": 2
565 }
566 ]
567 }
568 }
569 },
570 {
571 "description": "remain pinned after non-transient Interrupted error on replaceOne update",
572 "useMultipleMongoses": true,
573 "operations": [
574 {
575 "name": "startTransaction",
576 "object": "session0"
577 },
578 {
579 "name": "insertOne",
580 "object": "collection",
581 "arguments": {
582 "session": "session0",
583 "document": {
584 "_id": 3
585 }
586 },
587 "result": {
588 "insertedId": 3
589 }
590 },
591 {
592 "name": "targetedFailPoint",
593 "object": "testRunner",
594 "arguments": {
595 "session": "session0",
596 "failPoint": {
597 "configureFailPoint": "failCommand",
598 "mode": {
599 "times": 1
600 },
601 "data": {
602 "failCommands": [
603 "update"
604 ],
605 "errorCode": 11601
606 }
607 }
608 }
609 },
610 {
611 "name": "replaceOne",
612 "object": "collection",
613 "arguments": {
614 "session": "session0",
615 "filter": {
616 "_id": 1
617 },
618 "replacement": {
619 "y": 1
620 }
621 },
622 "result": {
623 "errorLabelsOmit": [
624 "TransientTransactionError"
625 ]
626 }
627 },
628 {
629 "name": "assertSessionPinned",
630 "object": "testRunner",
631 "arguments": {
632 "session": "session0"
633 }
634 },
635 {
636 "name": "abortTransaction",
637 "object": "session0"
638 }
639 ],
640 "outcome": {
641 "collection": {
642 "data": [
643 {
644 "_id": 1
645 },
646 {
647 "_id": 2
648 }
649 ]
650 }
651 }
652 },
653 {
654 "description": "remain pinned after non-transient Interrupted error on updateMany update",
655 "useMultipleMongoses": true,
656 "operations": [
657 {
658 "name": "startTransaction",
659 "object": "session0"
660 },
661 {
662 "name": "insertOne",
663 "object": "collection",
664 "arguments": {
665 "session": "session0",
666 "document": {
667 "_id": 3
668 }
669 },
670 "result": {
671 "insertedId": 3
672 }
673 },
674 {
675 "name": "targetedFailPoint",
676 "object": "testRunner",
677 "arguments": {
678 "session": "session0",
679 "failPoint": {
680 "configureFailPoint": "failCommand",
681 "mode": {
682 "times": 1
683 },
684 "data": {
685 "failCommands": [
686 "update"
687 ],
688 "errorCode": 11601
689 }
690 }
691 }
692 },
693 {
694 "name": "updateMany",
695 "object": "collection",
696 "arguments": {
697 "session": "session0",
698 "filter": {
699 "_id": {
700 "$gte": 1
701 }
702 },
703 "update": {
704 "$set": {
705 "z": 1
706 }
707 }
708 },
709 "result": {
710 "errorLabelsOmit": [
711 "TransientTransactionError"
712 ]
713 }
714 },
715 {
716 "name": "assertSessionPinned",
717 "object": "testRunner",
718 "arguments": {
719 "session": "session0"
720 }
721 },
722 {
723 "name": "abortTransaction",
724 "object": "session0"
725 }
726 ],
727 "outcome": {
728 "collection": {
729 "data": [
730 {
731 "_id": 1
732 },
733 {
734 "_id": 2
735 }
736 ]
737 }
738 }
739 },
740 {
741 "description": "remain pinned after non-transient Interrupted error on deleteOne delete",
742 "useMultipleMongoses": true,
743 "operations": [
744 {
745 "name": "startTransaction",
746 "object": "session0"
747 },
748 {
749 "name": "insertOne",
750 "object": "collection",
751 "arguments": {
752 "session": "session0",
753 "document": {
754 "_id": 3
755 }
756 },
757 "result": {
758 "insertedId": 3
759 }
760 },
761 {
762 "name": "targetedFailPoint",
763 "object": "testRunner",
764 "arguments": {
765 "session": "session0",
766 "failPoint": {
767 "configureFailPoint": "failCommand",
768 "mode": {
769 "times": 1
770 },
771 "data": {
772 "failCommands": [
773 "delete"
774 ],
775 "errorCode": 11601
776 }
777 }
778 }
779 },
780 {
781 "name": "deleteOne",
782 "object": "collection",
783 "arguments": {
784 "session": "session0",
785 "filter": {
786 "_id": 1
787 }
788 },
789 "result": {
790 "errorLabelsOmit": [
791 "TransientTransactionError"
792 ]
793 }
794 },
795 {
796 "name": "assertSessionPinned",
797 "object": "testRunner",
798 "arguments": {
799 "session": "session0"
800 }
801 },
802 {
803 "name": "abortTransaction",
804 "object": "session0"
805 }
806 ],
807 "outcome": {
808 "collection": {
809 "data": [
810 {
811 "_id": 1
812 },
813 {
814 "_id": 2
815 }
816 ]
817 }
818 }
819 },
820 {
821 "description": "remain pinned after non-transient Interrupted error on deleteMany delete",
822 "useMultipleMongoses": true,
823 "operations": [
824 {
825 "name": "startTransaction",
826 "object": "session0"
827 },
828 {
829 "name": "insertOne",
830 "object": "collection",
831 "arguments": {
832 "session": "session0",
833 "document": {
834 "_id": 3
835 }
836 },
837 "result": {
838 "insertedId": 3
839 }
840 },
841 {
842 "name": "targetedFailPoint",
843 "object": "testRunner",
844 "arguments": {
845 "session": "session0",
846 "failPoint": {
847 "configureFailPoint": "failCommand",
848 "mode": {
849 "times": 1
850 },
851 "data": {
852 "failCommands": [
853 "delete"
854 ],
855 "errorCode": 11601
856 }
857 }
858 }
859 },
860 {
861 "name": "deleteMany",
862 "object": "collection",
863 "arguments": {
864 "session": "session0",
865 "filter": {
866 "_id": {
867 "$gte": 1
868 }
869 }
870 },
871 "result": {
872 "errorLabelsOmit": [
873 "TransientTransactionError"
874 ]
875 }
876 },
877 {
878 "name": "assertSessionPinned",
879 "object": "testRunner",
880 "arguments": {
881 "session": "session0"
882 }
883 },
884 {
885 "name": "abortTransaction",
886 "object": "session0"
887 }
888 ],
889 "outcome": {
890 "collection": {
891 "data": [
892 {
893 "_id": 1
894 },
895 {
896 "_id": 2
897 }
898 ]
899 }
900 }
901 },
902 {
903 "description": "remain pinned after non-transient Interrupted error on findOneAndDelete findAndModify",
904 "useMultipleMongoses": true,
905 "operations": [
906 {
907 "name": "startTransaction",
908 "object": "session0"
909 },
910 {
911 "name": "insertOne",
912 "object": "collection",
913 "arguments": {
914 "session": "session0",
915 "document": {
916 "_id": 3
917 }
918 },
919 "result": {
920 "insertedId": 3
921 }
922 },
923 {
924 "name": "targetedFailPoint",
925 "object": "testRunner",
926 "arguments": {
927 "session": "session0",
928 "failPoint": {
929 "configureFailPoint": "failCommand",
930 "mode": {
931 "times": 1
932 },
933 "data": {
934 "failCommands": [
935 "findAndModify"
936 ],
937 "errorCode": 11601
938 }
939 }
940 }
941 },
942 {
943 "name": "findOneAndDelete",
944 "object": "collection",
945 "arguments": {
946 "session": "session0",
947 "filter": {
948 "_id": 1
949 }
950 },
951 "result": {
952 "errorLabelsOmit": [
953 "TransientTransactionError"
954 ]
955 }
956 },
957 {
958 "name": "assertSessionPinned",
959 "object": "testRunner",
960 "arguments": {
961 "session": "session0"
962 }
963 },
964 {
965 "name": "abortTransaction",
966 "object": "session0"
967 }
968 ],
969 "outcome": {
970 "collection": {
971 "data": [
972 {
973 "_id": 1
974 },
975 {
976 "_id": 2
977 }
978 ]
979 }
980 }
981 },
982 {
983 "description": "remain pinned after non-transient Interrupted error on findOneAndUpdate findAndModify",
984 "useMultipleMongoses": true,
985 "operations": [
986 {
987 "name": "startTransaction",
988 "object": "session0"
989 },
990 {
991 "name": "insertOne",
992 "object": "collection",
993 "arguments": {
994 "session": "session0",
995 "document": {
996 "_id": 3
997 }
998 },
999 "result": {
1000 "insertedId": 3
1001 }
1002 },
1003 {
1004 "name": "targetedFailPoint",
1005 "object": "testRunner",
1006 "arguments": {
1007 "session": "session0",
1008 "failPoint": {
1009 "configureFailPoint": "failCommand",
1010 "mode": {
1011 "times": 1
1012 },
1013 "data": {
1014 "failCommands": [
1015 "findAndModify"
1016 ],
1017 "errorCode": 11601
1018 }
1019 }
1020 }
1021 },
1022 {
1023 "name": "findOneAndUpdate",
1024 "object": "collection",
1025 "arguments": {
1026 "session": "session0",
1027 "filter": {
1028 "_id": 1
1029 },
1030 "update": {
1031 "$inc": {
1032 "x": 1
1033 }
1034 },
1035 "returnDocument": "Before"
1036 },
1037 "result": {
1038 "errorLabelsOmit": [
1039 "TransientTransactionError"
1040 ]
1041 }
1042 },
1043 {
1044 "name": "assertSessionPinned",
1045 "object": "testRunner",
1046 "arguments": {
1047 "session": "session0"
1048 }
1049 },
1050 {
1051 "name": "abortTransaction",
1052 "object": "session0"
1053 }
1054 ],
1055 "outcome": {
1056 "collection": {
1057 "data": [
1058 {
1059 "_id": 1
1060 },
1061 {
1062 "_id": 2
1063 }
1064 ]
1065 }
1066 }
1067 },
1068 {
1069 "description": "remain pinned after non-transient Interrupted error on findOneAndReplace findAndModify",
1070 "useMultipleMongoses": true,
1071 "operations": [
1072 {
1073 "name": "startTransaction",
1074 "object": "session0"
1075 },
1076 {
1077 "name": "insertOne",
1078 "object": "collection",
1079 "arguments": {
1080 "session": "session0",
1081 "document": {
1082 "_id": 3
1083 }
1084 },
1085 "result": {
1086 "insertedId": 3
1087 }
1088 },
1089 {
1090 "name": "targetedFailPoint",
1091 "object": "testRunner",
1092 "arguments": {
1093 "session": "session0",
1094 "failPoint": {
1095 "configureFailPoint": "failCommand",
1096 "mode": {
1097 "times": 1
1098 },
1099 "data": {
1100 "failCommands": [
1101 "findAndModify"
1102 ],
1103 "errorCode": 11601
1104 }
1105 }
1106 }
1107 },
1108 {
1109 "name": "findOneAndReplace",
1110 "object": "collection",
1111 "arguments": {
1112 "session": "session0",
1113 "filter": {
1114 "_id": 1
1115 },
1116 "replacement": {
1117 "y": 1
1118 },
1119 "returnDocument": "Before"
1120 },
1121 "result": {
1122 "errorLabelsOmit": [
1123 "TransientTransactionError"
1124 ]
1125 }
1126 },
1127 {
1128 "name": "assertSessionPinned",
1129 "object": "testRunner",
1130 "arguments": {
1131 "session": "session0"
1132 }
1133 },
1134 {
1135 "name": "abortTransaction",
1136 "object": "session0"
1137 }
1138 ],
1139 "outcome": {
1140 "collection": {
1141 "data": [
1142 {
1143 "_id": 1
1144 },
1145 {
1146 "_id": 2
1147 }
1148 ]
1149 }
1150 }
1151 },
1152 {
1153 "description": "remain pinned after non-transient Interrupted error on bulkWrite insert",
1154 "useMultipleMongoses": true,
1155 "operations": [
1156 {
1157 "name": "startTransaction",
1158 "object": "session0"
1159 },
1160 {
1161 "name": "insertOne",
1162 "object": "collection",
1163 "arguments": {
1164 "session": "session0",
1165 "document": {
1166 "_id": 3
1167 }
1168 },
1169 "result": {
1170 "insertedId": 3
1171 }
1172 },
1173 {
1174 "name": "targetedFailPoint",
1175 "object": "testRunner",
1176 "arguments": {
1177 "session": "session0",
1178 "failPoint": {
1179 "configureFailPoint": "failCommand",
1180 "mode": {
1181 "times": 1
1182 },
1183 "data": {
1184 "failCommands": [
1185 "insert"
1186 ],
1187 "errorCode": 11601
1188 }
1189 }
1190 }
1191 },
1192 {
1193 "name": "bulkWrite",
1194 "object": "collection",
1195 "arguments": {
1196 "session": "session0",
1197 "requests": [
1198 {
1199 "name": "insertOne",
1200 "arguments": {
1201 "document": {
1202 "_id": 1
1203 }
1204 }
1205 }
1206 ]
1207 },
1208 "result": {
1209 "errorLabelsOmit": [
1210 "TransientTransactionError"
1211 ]
1212 }
1213 },
1214 {
1215 "name": "assertSessionPinned",
1216 "object": "testRunner",
1217 "arguments": {
1218 "session": "session0"
1219 }
1220 },
1221 {
1222 "name": "abortTransaction",
1223 "object": "session0"
1224 }
1225 ],
1226 "outcome": {
1227 "collection": {
1228 "data": [
1229 {
1230 "_id": 1
1231 },
1232 {
1233 "_id": 2
1234 }
1235 ]
1236 }
1237 }
1238 },
1239 {
1240 "description": "remain pinned after non-transient Interrupted error on bulkWrite update",
1241 "useMultipleMongoses": true,
1242 "operations": [
1243 {
1244 "name": "startTransaction",
1245 "object": "session0"
1246 },
1247 {
1248 "name": "insertOne",
1249 "object": "collection",
1250 "arguments": {
1251 "session": "session0",
1252 "document": {
1253 "_id": 3
1254 }
1255 },
1256 "result": {
1257 "insertedId": 3
1258 }
1259 },
1260 {
1261 "name": "targetedFailPoint",
1262 "object": "testRunner",
1263 "arguments": {
1264 "session": "session0",
1265 "failPoint": {
1266 "configureFailPoint": "failCommand",
1267 "mode": {
1268 "times": 1
1269 },
1270 "data": {
1271 "failCommands": [
1272 "update"
1273 ],
1274 "errorCode": 11601
1275 }
1276 }
1277 }
1278 },
1279 {
1280 "name": "bulkWrite",
1281 "object": "collection",
1282 "arguments": {
1283 "session": "session0",
1284 "requests": [
1285 {
1286 "name": "updateOne",
1287 "arguments": {
1288 "filter": {
1289 "_id": 1
1290 },
1291 "update": {
1292 "$set": {
1293 "x": 1
1294 }
1295 }
1296 }
1297 }
1298 ]
1299 },
1300 "result": {
1301 "errorLabelsOmit": [
1302 "TransientTransactionError"
1303 ]
1304 }
1305 },
1306 {
1307 "name": "assertSessionPinned",
1308 "object": "testRunner",
1309 "arguments": {
1310 "session": "session0"
1311 }
1312 },
1313 {
1314 "name": "abortTransaction",
1315 "object": "session0"
1316 }
1317 ],
1318 "outcome": {
1319 "collection": {
1320 "data": [
1321 {
1322 "_id": 1
1323 },
1324 {
1325 "_id": 2
1326 }
1327 ]
1328 }
1329 }
1330 },
1331 {
1332 "description": "remain pinned after non-transient Interrupted error on bulkWrite delete",
1333 "useMultipleMongoses": true,
1334 "operations": [
1335 {
1336 "name": "startTransaction",
1337 "object": "session0"
1338 },
1339 {
1340 "name": "insertOne",
1341 "object": "collection",
1342 "arguments": {
1343 "session": "session0",
1344 "document": {
1345 "_id": 3
1346 }
1347 },
1348 "result": {
1349 "insertedId": 3
1350 }
1351 },
1352 {
1353 "name": "targetedFailPoint",
1354 "object": "testRunner",
1355 "arguments": {
1356 "session": "session0",
1357 "failPoint": {
1358 "configureFailPoint": "failCommand",
1359 "mode": {
1360 "times": 1
1361 },
1362 "data": {
1363 "failCommands": [
1364 "delete"
1365 ],
1366 "errorCode": 11601
1367 }
1368 }
1369 }
1370 },
1371 {
1372 "name": "bulkWrite",
1373 "object": "collection",
1374 "arguments": {
1375 "session": "session0",
1376 "requests": [
1377 {
1378 "name": "deleteOne",
1379 "arguments": {
1380 "filter": {
1381 "_id": 1
1382 }
1383 }
1384 }
1385 ]
1386 },
1387 "result": {
1388 "errorLabelsOmit": [
1389 "TransientTransactionError"
1390 ]
1391 }
1392 },
1393 {
1394 "name": "assertSessionPinned",
1395 "object": "testRunner",
1396 "arguments": {
1397 "session": "session0"
1398 }
1399 },
1400 {
1401 "name": "abortTransaction",
1402 "object": "session0"
1403 }
1404 ],
1405 "outcome": {
1406 "collection": {
1407 "data": [
1408 {
1409 "_id": 1
1410 },
1411 {
1412 "_id": 2
1413 }
1414 ]
1415 }
1416 }
1417 },
1418 {
1419 "description": "remain pinned after non-transient Interrupted error on find find",
1420 "useMultipleMongoses": true,
1421 "operations": [
1422 {
1423 "name": "startTransaction",
1424 "object": "session0"
1425 },
1426 {
1427 "name": "insertOne",
1428 "object": "collection",
1429 "arguments": {
1430 "session": "session0",
1431 "document": {
1432 "_id": 3
1433 }
1434 },
1435 "result": {
1436 "insertedId": 3
1437 }
1438 },
1439 {
1440 "name": "targetedFailPoint",
1441 "object": "testRunner",
1442 "arguments": {
1443 "session": "session0",
1444 "failPoint": {
1445 "configureFailPoint": "failCommand",
1446 "mode": {
1447 "times": 1
1448 },
1449 "data": {
1450 "failCommands": [
1451 "find"
1452 ],
1453 "errorCode": 11601
1454 }
1455 }
1456 }
1457 },
1458 {
1459 "name": "find",
1460 "object": "collection",
1461 "arguments": {
1462 "session": "session0",
1463 "filter": {
1464 "_id": 1
1465 }
1466 },
1467 "result": {
1468 "errorLabelsOmit": [
1469 "TransientTransactionError"
1470 ]
1471 }
1472 },
1473 {
1474 "name": "assertSessionPinned",
1475 "object": "testRunner",
1476 "arguments": {
1477 "session": "session0"
1478 }
1479 },
1480 {
1481 "name": "abortTransaction",
1482 "object": "session0"
1483 }
1484 ],
1485 "outcome": {
1486 "collection": {
1487 "data": [
1488 {
1489 "_id": 1
1490 },
1491 {
1492 "_id": 2
1493 }
1494 ]
1495 }
1496 }
1497 },
1498 {
1499 "description": "remain pinned after non-transient Interrupted error on countDocuments aggregate",
1500 "useMultipleMongoses": true,
1501 "operations": [
1502 {
1503 "name": "startTransaction",
1504 "object": "session0"
1505 },
1506 {
1507 "name": "insertOne",
1508 "object": "collection",
1509 "arguments": {
1510 "session": "session0",
1511 "document": {
1512 "_id": 3
1513 }
1514 },
1515 "result": {
1516 "insertedId": 3
1517 }
1518 },
1519 {
1520 "name": "targetedFailPoint",
1521 "object": "testRunner",
1522 "arguments": {
1523 "session": "session0",
1524 "failPoint": {
1525 "configureFailPoint": "failCommand",
1526 "mode": {
1527 "times": 1
1528 },
1529 "data": {
1530 "failCommands": [
1531 "aggregate"
1532 ],
1533 "errorCode": 11601
1534 }
1535 }
1536 }
1537 },
1538 {
1539 "name": "countDocuments",
1540 "object": "collection",
1541 "arguments": {
1542 "session": "session0",
1543 "filter": {}
1544 },
1545 "result": {
1546 "errorLabelsOmit": [
1547 "TransientTransactionError"
1548 ]
1549 }
1550 },
1551 {
1552 "name": "assertSessionPinned",
1553 "object": "testRunner",
1554 "arguments": {
1555 "session": "session0"
1556 }
1557 },
1558 {
1559 "name": "abortTransaction",
1560 "object": "session0"
1561 }
1562 ],
1563 "outcome": {
1564 "collection": {
1565 "data": [
1566 {
1567 "_id": 1
1568 },
1569 {
1570 "_id": 2
1571 }
1572 ]
1573 }
1574 }
1575 },
1576 {
1577 "description": "remain pinned after non-transient Interrupted error on aggregate aggregate",
1578 "useMultipleMongoses": true,
1579 "operations": [
1580 {
1581 "name": "startTransaction",
1582 "object": "session0"
1583 },
1584 {
1585 "name": "insertOne",
1586 "object": "collection",
1587 "arguments": {
1588 "session": "session0",
1589 "document": {
1590 "_id": 3
1591 }
1592 },
1593 "result": {
1594 "insertedId": 3
1595 }
1596 },
1597 {
1598 "name": "targetedFailPoint",
1599 "object": "testRunner",
1600 "arguments": {
1601 "session": "session0",
1602 "failPoint": {
1603 "configureFailPoint": "failCommand",
1604 "mode": {
1605 "times": 1
1606 },
1607 "data": {
1608 "failCommands": [
1609 "aggregate"
1610 ],
1611 "errorCode": 11601
1612 }
1613 }
1614 }
1615 },
1616 {
1617 "name": "aggregate",
1618 "object": "collection",
1619 "arguments": {
1620 "session": "session0",
1621 "pipeline": []
1622 },
1623 "result": {
1624 "errorLabelsOmit": [
1625 "TransientTransactionError"
1626 ]
1627 }
1628 },
1629 {
1630 "name": "assertSessionPinned",
1631 "object": "testRunner",
1632 "arguments": {
1633 "session": "session0"
1634 }
1635 },
1636 {
1637 "name": "abortTransaction",
1638 "object": "session0"
1639 }
1640 ],
1641 "outcome": {
1642 "collection": {
1643 "data": [
1644 {
1645 "_id": 1
1646 },
1647 {
1648 "_id": 2
1649 }
1650 ]
1651 }
1652 }
1653 },
1654 {
1655 "description": "remain pinned after non-transient Interrupted error on distinct distinct",
1656 "useMultipleMongoses": true,
1657 "operations": [
1658 {
1659 "name": "startTransaction",
1660 "object": "session0"
1661 },
1662 {
1663 "name": "insertOne",
1664 "object": "collection",
1665 "arguments": {
1666 "session": "session0",
1667 "document": {
1668 "_id": 3
1669 }
1670 },
1671 "result": {
1672 "insertedId": 3
1673 }
1674 },
1675 {
1676 "name": "targetedFailPoint",
1677 "object": "testRunner",
1678 "arguments": {
1679 "session": "session0",
1680 "failPoint": {
1681 "configureFailPoint": "failCommand",
1682 "mode": {
1683 "times": 1
1684 },
1685 "data": {
1686 "failCommands": [
1687 "distinct"
1688 ],
1689 "errorCode": 11601
1690 }
1691 }
1692 }
1693 },
1694 {
1695 "name": "distinct",
1696 "object": "collection",
1697 "arguments": {
1698 "session": "session0",
1699 "fieldName": "_id"
1700 },
1701 "result": {
1702 "errorLabelsOmit": [
1703 "TransientTransactionError"
1704 ]
1705 }
1706 },
1707 {
1708 "name": "assertSessionPinned",
1709 "object": "testRunner",
1710 "arguments": {
1711 "session": "session0"
1712 }
1713 },
1714 {
1715 "name": "abortTransaction",
1716 "object": "session0"
1717 }
1718 ],
1719 "outcome": {
1720 "collection": {
1721 "data": [
1722 {
1723 "_id": 1
1724 },
1725 {
1726 "_id": 2
1727 }
1728 ]
1729 }
1730 }
1731 },
1732 {
1733 "description": "remain pinned after non-transient Interrupted error on runCommand insert",
1734 "useMultipleMongoses": true,
1735 "operations": [
1736 {
1737 "name": "startTransaction",
1738 "object": "session0"
1739 },
1740 {
1741 "name": "insertOne",
1742 "object": "collection",
1743 "arguments": {
1744 "session": "session0",
1745 "document": {
1746 "_id": 3
1747 }
1748 },
1749 "result": {
1750 "insertedId": 3
1751 }
1752 },
1753 {
1754 "name": "targetedFailPoint",
1755 "object": "testRunner",
1756 "arguments": {
1757 "session": "session0",
1758 "failPoint": {
1759 "configureFailPoint": "failCommand",
1760 "mode": {
1761 "times": 1
1762 },
1763 "data": {
1764 "failCommands": [
1765 "insert"
1766 ],
1767 "errorCode": 11601
1768 }
1769 }
1770 }
1771 },
1772 {
1773 "name": "runCommand",
1774 "object": "database",
1775 "command_name": "insert",
1776 "arguments": {
1777 "session": "session0",
1778 "command": {
1779 "insert": "test",
1780 "documents": [
1781 {
1782 "_id": 1
1783 }
1784 ]
1785 }
1786 },
1787 "result": {
1788 "errorLabelsOmit": [
1789 "TransientTransactionError"
1790 ]
1791 }
1792 },
1793 {
1794 "name": "assertSessionPinned",
1795 "object": "testRunner",
1796 "arguments": {
1797 "session": "session0"
1798 }
1799 },
1800 {
1801 "name": "abortTransaction",
1802 "object": "session0"
1803 }
1804 ],
1805 "outcome": {
1806 "collection": {
1807 "data": [
1808 {
1809 "_id": 1
1810 },
1811 {
1812 "_id": 2
1813 }
1814 ]
1815 }
1816 }
1817 },
1818 {
1819 "description": "unpin after transient connection error on insertOne insert",
1820 "useMultipleMongoses": true,
1821 "operations": [
1822 {
1823 "name": "startTransaction",
1824 "object": "session0"
1825 },
1826 {
1827 "name": "insertOne",
1828 "object": "collection",
1829 "arguments": {
1830 "session": "session0",
1831 "document": {
1832 "_id": 3
1833 }
1834 },
1835 "result": {
1836 "insertedId": 3
1837 }
1838 },
1839 {
1840 "name": "targetedFailPoint",
1841 "object": "testRunner",
1842 "arguments": {
1843 "session": "session0",
1844 "failPoint": {
1845 "configureFailPoint": "failCommand",
1846 "mode": {
1847 "times": 1
1848 },
1849 "data": {
1850 "failCommands": [
1851 "insert"
1852 ],
1853 "closeConnection": true
1854 }
1855 }
1856 }
1857 },
1858 {
1859 "name": "insertOne",
1860 "object": "collection",
1861 "arguments": {
1862 "session": "session0",
1863 "document": {
1864 "_id": 4
1865 }
1866 },
1867 "result": {
1868 "errorLabelsContain": [
1869 "TransientTransactionError"
1870 ]
1871 }
1872 },
1873 {
1874 "name": "assertSessionUnpinned",
1875 "object": "testRunner",
1876 "arguments": {
1877 "session": "session0"
1878 }
1879 },
1880 {
1881 "name": "abortTransaction",
1882 "object": "session0"
1883 }
1884 ],
1885 "outcome": {
1886 "collection": {
1887 "data": [
1888 {
1889 "_id": 1
1890 },
1891 {
1892 "_id": 2
1893 }
1894 ]
1895 }
1896 }
1897 },
1898 {
1899 "description": "unpin after transient ShutdownInProgress error on insertOne insert",
1900 "useMultipleMongoses": true,
1901 "operations": [
1902 {
1903 "name": "startTransaction",
1904 "object": "session0"
1905 },
1906 {
1907 "name": "insertOne",
1908 "object": "collection",
1909 "arguments": {
1910 "session": "session0",
1911 "document": {
1912 "_id": 3
1913 }
1914 },
1915 "result": {
1916 "insertedId": 3
1917 }
1918 },
1919 {
1920 "name": "targetedFailPoint",
1921 "object": "testRunner",
1922 "arguments": {
1923 "session": "session0",
1924 "failPoint": {
1925 "configureFailPoint": "failCommand",
1926 "mode": {
1927 "times": 1
1928 },
1929 "data": {
1930 "failCommands": [
1931 "insert"
1932 ],
1933 "errorCode": 91
1934 }
1935 }
1936 }
1937 },
1938 {
1939 "name": "insertOne",
1940 "object": "collection",
1941 "arguments": {
1942 "session": "session0",
1943 "document": {
1944 "_id": 4
1945 }
1946 },
1947 "result": {
1948 "errorLabelsContain": [
1949 "TransientTransactionError"
1950 ]
1951 }
1952 },
1953 {
1954 "name": "assertSessionUnpinned",
1955 "object": "testRunner",
1956 "arguments": {
1957 "session": "session0"
1958 }
1959 },
1960 {
1961 "name": "abortTransaction",
1962 "object": "session0"
1963 }
1964 ],
1965 "outcome": {
1966 "collection": {
1967 "data": [
1968 {
1969 "_id": 1
1970 },
1971 {
1972 "_id": 2
1973 }
1974 ]
1975 }
1976 }
1977 },
1978 {
1979 "description": "unpin after transient connection error on insertMany insert",
1980 "useMultipleMongoses": true,
1981 "operations": [
1982 {
1983 "name": "startTransaction",
1984 "object": "session0"
1985 },
1986 {
1987 "name": "insertOne",
1988 "object": "collection",
1989 "arguments": {
1990 "session": "session0",
1991 "document": {
1992 "_id": 3
1993 }
1994 },
1995 "result": {
1996 "insertedId": 3
1997 }
1998 },
1999 {
2000 "name": "targetedFailPoint",
2001 "object": "testRunner",
2002 "arguments": {
2003 "session": "session0",
2004 "failPoint": {
2005 "configureFailPoint": "failCommand",
2006 "mode": {
2007 "times": 1
2008 },
2009 "data": {
2010 "failCommands": [
2011 "insert"
2012 ],
2013 "closeConnection": true
2014 }
2015 }
2016 }
2017 },
2018 {
2019 "name": "insertMany",
2020 "object": "collection",
2021 "arguments": {
2022 "session": "session0",
2023 "documents": [
2024 {
2025 "_id": 4
2026 },
2027 {
2028 "_id": 5
2029 }
2030 ]
2031 },
2032 "result": {
2033 "errorLabelsContain": [
2034 "TransientTransactionError"
2035 ]
2036 }
2037 },
2038 {
2039 "name": "assertSessionUnpinned",
2040 "object": "testRunner",
2041 "arguments": {
2042 "session": "session0"
2043 }
2044 },
2045 {
2046 "name": "abortTransaction",
2047 "object": "session0"
2048 }
2049 ],
2050 "outcome": {
2051 "collection": {
2052 "data": [
2053 {
2054 "_id": 1
2055 },
2056 {
2057 "_id": 2
2058 }
2059 ]
2060 }
2061 }
2062 },
2063 {
2064 "description": "unpin after transient ShutdownInProgress error on insertMany insert",
2065 "useMultipleMongoses": true,
2066 "operations": [
2067 {
2068 "name": "startTransaction",
2069 "object": "session0"
2070 },
2071 {
2072 "name": "insertOne",
2073 "object": "collection",
2074 "arguments": {
2075 "session": "session0",
2076 "document": {
2077 "_id": 3
2078 }
2079 },
2080 "result": {
2081 "insertedId": 3
2082 }
2083 },
2084 {
2085 "name": "targetedFailPoint",
2086 "object": "testRunner",
2087 "arguments": {
2088 "session": "session0",
2089 "failPoint": {
2090 "configureFailPoint": "failCommand",
2091 "mode": {
2092 "times": 1
2093 },
2094 "data": {
2095 "failCommands": [
2096 "insert"
2097 ],
2098 "errorCode": 91
2099 }
2100 }
2101 }
2102 },
2103 {
2104 "name": "insertMany",
2105 "object": "collection",
2106 "arguments": {
2107 "session": "session0",
2108 "documents": [
2109 {
2110 "_id": 4
2111 },
2112 {
2113 "_id": 5
2114 }
2115 ]
2116 },
2117 "result": {
2118 "errorLabelsContain": [
2119 "TransientTransactionError"
2120 ]
2121 }
2122 },
2123 {
2124 "name": "assertSessionUnpinned",
2125 "object": "testRunner",
2126 "arguments": {
2127 "session": "session0"
2128 }
2129 },
2130 {
2131 "name": "abortTransaction",
2132 "object": "session0"
2133 }
2134 ],
2135 "outcome": {
2136 "collection": {
2137 "data": [
2138 {
2139 "_id": 1
2140 },
2141 {
2142 "_id": 2
2143 }
2144 ]
2145 }
2146 }
2147 },
2148 {
2149 "description": "unpin after transient connection error on updateOne update",
2150 "useMultipleMongoses": true,
2151 "operations": [
2152 {
2153 "name": "startTransaction",
2154 "object": "session0"
2155 },
2156 {
2157 "name": "insertOne",
2158 "object": "collection",
2159 "arguments": {
2160 "session": "session0",
2161 "document": {
2162 "_id": 3
2163 }
2164 },
2165 "result": {
2166 "insertedId": 3
2167 }
2168 },
2169 {
2170 "name": "targetedFailPoint",
2171 "object": "testRunner",
2172 "arguments": {
2173 "session": "session0",
2174 "failPoint": {
2175 "configureFailPoint": "failCommand",
2176 "mode": {
2177 "times": 1
2178 },
2179 "data": {
2180 "failCommands": [
2181 "update"
2182 ],
2183 "closeConnection": true
2184 }
2185 }
2186 }
2187 },
2188 {
2189 "name": "updateOne",
2190 "object": "collection",
2191 "arguments": {
2192 "session": "session0",
2193 "filter": {
2194 "_id": 1
2195 },
2196 "update": {
2197 "$inc": {
2198 "x": 1
2199 }
2200 }
2201 },
2202 "result": {
2203 "errorLabelsContain": [
2204 "TransientTransactionError"
2205 ]
2206 }
2207 },
2208 {
2209 "name": "assertSessionUnpinned",
2210 "object": "testRunner",
2211 "arguments": {
2212 "session": "session0"
2213 }
2214 },
2215 {
2216 "name": "abortTransaction",
2217 "object": "session0"
2218 }
2219 ],
2220 "outcome": {
2221 "collection": {
2222 "data": [
2223 {
2224 "_id": 1
2225 },
2226 {
2227 "_id": 2
2228 }
2229 ]
2230 }
2231 }
2232 },
2233 {
2234 "description": "unpin after transient ShutdownInProgress error on updateOne update",
2235 "useMultipleMongoses": true,
2236 "operations": [
2237 {
2238 "name": "startTransaction",
2239 "object": "session0"
2240 },
2241 {
2242 "name": "insertOne",
2243 "object": "collection",
2244 "arguments": {
2245 "session": "session0",
2246 "document": {
2247 "_id": 3
2248 }
2249 },
2250 "result": {
2251 "insertedId": 3
2252 }
2253 },
2254 {
2255 "name": "targetedFailPoint",
2256 "object": "testRunner",
2257 "arguments": {
2258 "session": "session0",
2259 "failPoint": {
2260 "configureFailPoint": "failCommand",
2261 "mode": {
2262 "times": 1
2263 },
2264 "data": {
2265 "failCommands": [
2266 "update"
2267 ],
2268 "errorCode": 91
2269 }
2270 }
2271 }
2272 },
2273 {
2274 "name": "updateOne",
2275 "object": "collection",
2276 "arguments": {
2277 "session": "session0",
2278 "filter": {
2279 "_id": 1
2280 },
2281 "update": {
2282 "$inc": {
2283 "x": 1
2284 }
2285 }
2286 },
2287 "result": {
2288 "errorLabelsContain": [
2289 "TransientTransactionError"
2290 ]
2291 }
2292 },
2293 {
2294 "name": "assertSessionUnpinned",
2295 "object": "testRunner",
2296 "arguments": {
2297 "session": "session0"
2298 }
2299 },
2300 {
2301 "name": "abortTransaction",
2302 "object": "session0"
2303 }
2304 ],
2305 "outcome": {
2306 "collection": {
2307 "data": [
2308 {
2309 "_id": 1
2310 },
2311 {
2312 "_id": 2
2313 }
2314 ]
2315 }
2316 }
2317 },
2318 {
2319 "description": "unpin after transient connection error on replaceOne update",
2320 "useMultipleMongoses": true,
2321 "operations": [
2322 {
2323 "name": "startTransaction",
2324 "object": "session0"
2325 },
2326 {
2327 "name": "insertOne",
2328 "object": "collection",
2329 "arguments": {
2330 "session": "session0",
2331 "document": {
2332 "_id": 3
2333 }
2334 },
2335 "result": {
2336 "insertedId": 3
2337 }
2338 },
2339 {
2340 "name": "targetedFailPoint",
2341 "object": "testRunner",
2342 "arguments": {
2343 "session": "session0",
2344 "failPoint": {
2345 "configureFailPoint": "failCommand",
2346 "mode": {
2347 "times": 1
2348 },
2349 "data": {
2350 "failCommands": [
2351 "update"
2352 ],
2353 "closeConnection": true
2354 }
2355 }
2356 }
2357 },
2358 {
2359 "name": "replaceOne",
2360 "object": "collection",
2361 "arguments": {
2362 "session": "session0",
2363 "filter": {
2364 "_id": 1
2365 },
2366 "replacement": {
2367 "y": 1
2368 }
2369 },
2370 "result": {
2371 "errorLabelsContain": [
2372 "TransientTransactionError"
2373 ]
2374 }
2375 },
2376 {
2377 "name": "assertSessionUnpinned",
2378 "object": "testRunner",
2379 "arguments": {
2380 "session": "session0"
2381 }
2382 },
2383 {
2384 "name": "abortTransaction",
2385 "object": "session0"
2386 }
2387 ],
2388 "outcome": {
2389 "collection": {
2390 "data": [
2391 {
2392 "_id": 1
2393 },
2394 {
2395 "_id": 2
2396 }
2397 ]
2398 }
2399 }
2400 },
2401 {
2402 "description": "unpin after transient ShutdownInProgress error on replaceOne update",
2403 "useMultipleMongoses": true,
2404 "operations": [
2405 {
2406 "name": "startTransaction",
2407 "object": "session0"
2408 },
2409 {
2410 "name": "insertOne",
2411 "object": "collection",
2412 "arguments": {
2413 "session": "session0",
2414 "document": {
2415 "_id": 3
2416 }
2417 },
2418 "result": {
2419 "insertedId": 3
2420 }
2421 },
2422 {
2423 "name": "targetedFailPoint",
2424 "object": "testRunner",
2425 "arguments": {
2426 "session": "session0",
2427 "failPoint": {
2428 "configureFailPoint": "failCommand",
2429 "mode": {
2430 "times": 1
2431 },
2432 "data": {
2433 "failCommands": [
2434 "update"
2435 ],
2436 "errorCode": 91
2437 }
2438 }
2439 }
2440 },
2441 {
2442 "name": "replaceOne",
2443 "object": "collection",
2444 "arguments": {
2445 "session": "session0",
2446 "filter": {
2447 "_id": 1
2448 },
2449 "replacement": {
2450 "y": 1
2451 }
2452 },
2453 "result": {
2454 "errorLabelsContain": [
2455 "TransientTransactionError"
2456 ]
2457 }
2458 },
2459 {
2460 "name": "assertSessionUnpinned",
2461 "object": "testRunner",
2462 "arguments": {
2463 "session": "session0"
2464 }
2465 },
2466 {
2467 "name": "abortTransaction",
2468 "object": "session0"
2469 }
2470 ],
2471 "outcome": {
2472 "collection": {
2473 "data": [
2474 {
2475 "_id": 1
2476 },
2477 {
2478 "_id": 2
2479 }
2480 ]
2481 }
2482 }
2483 },
2484 {
2485 "description": "unpin after transient connection error on updateMany update",
2486 "useMultipleMongoses": true,
2487 "operations": [
2488 {
2489 "name": "startTransaction",
2490 "object": "session0"
2491 },
2492 {
2493 "name": "insertOne",
2494 "object": "collection",
2495 "arguments": {
2496 "session": "session0",
2497 "document": {
2498 "_id": 3
2499 }
2500 },
2501 "result": {
2502 "insertedId": 3
2503 }
2504 },
2505 {
2506 "name": "targetedFailPoint",
2507 "object": "testRunner",
2508 "arguments": {
2509 "session": "session0",
2510 "failPoint": {
2511 "configureFailPoint": "failCommand",
2512 "mode": {
2513 "times": 1
2514 },
2515 "data": {
2516 "failCommands": [
2517 "update"
2518 ],
2519 "closeConnection": true
2520 }
2521 }
2522 }
2523 },
2524 {
2525 "name": "updateMany",
2526 "object": "collection",
2527 "arguments": {
2528 "session": "session0",
2529 "filter": {
2530 "_id": {
2531 "$gte": 1
2532 }
2533 },
2534 "update": {
2535 "$set": {
2536 "z": 1
2537 }
2538 }
2539 },
2540 "result": {
2541 "errorLabelsContain": [
2542 "TransientTransactionError"
2543 ]
2544 }
2545 },
2546 {
2547 "name": "assertSessionUnpinned",
2548 "object": "testRunner",
2549 "arguments": {
2550 "session": "session0"
2551 }
2552 },
2553 {
2554 "name": "abortTransaction",
2555 "object": "session0"
2556 }
2557 ],
2558 "outcome": {
2559 "collection": {
2560 "data": [
2561 {
2562 "_id": 1
2563 },
2564 {
2565 "_id": 2
2566 }
2567 ]
2568 }
2569 }
2570 },
2571 {
2572 "description": "unpin after transient ShutdownInProgress error on updateMany update",
2573 "useMultipleMongoses": true,
2574 "operations": [
2575 {
2576 "name": "startTransaction",
2577 "object": "session0"
2578 },
2579 {
2580 "name": "insertOne",
2581 "object": "collection",
2582 "arguments": {
2583 "session": "session0",
2584 "document": {
2585 "_id": 3
2586 }
2587 },
2588 "result": {
2589 "insertedId": 3
2590 }
2591 },
2592 {
2593 "name": "targetedFailPoint",
2594 "object": "testRunner",
2595 "arguments": {
2596 "session": "session0",
2597 "failPoint": {
2598 "configureFailPoint": "failCommand",
2599 "mode": {
2600 "times": 1
2601 },
2602 "data": {
2603 "failCommands": [
2604 "update"
2605 ],
2606 "errorCode": 91
2607 }
2608 }
2609 }
2610 },
2611 {
2612 "name": "updateMany",
2613 "object": "collection",
2614 "arguments": {
2615 "session": "session0",
2616 "filter": {
2617 "_id": {
2618 "$gte": 1
2619 }
2620 },
2621 "update": {
2622 "$set": {
2623 "z": 1
2624 }
2625 }
2626 },
2627 "result": {
2628 "errorLabelsContain": [
2629 "TransientTransactionError"
2630 ]
2631 }
2632 },
2633 {
2634 "name": "assertSessionUnpinned",
2635 "object": "testRunner",
2636 "arguments": {
2637 "session": "session0"
2638 }
2639 },
2640 {
2641 "name": "abortTransaction",
2642 "object": "session0"
2643 }
2644 ],
2645 "outcome": {
2646 "collection": {
2647 "data": [
2648 {
2649 "_id": 1
2650 },
2651 {
2652 "_id": 2
2653 }
2654 ]
2655 }
2656 }
2657 },
2658 {
2659 "description": "unpin after transient connection error on deleteOne delete",
2660 "useMultipleMongoses": true,
2661 "operations": [
2662 {
2663 "name": "startTransaction",
2664 "object": "session0"
2665 },
2666 {
2667 "name": "insertOne",
2668 "object": "collection",
2669 "arguments": {
2670 "session": "session0",
2671 "document": {
2672 "_id": 3
2673 }
2674 },
2675 "result": {
2676 "insertedId": 3
2677 }
2678 },
2679 {
2680 "name": "targetedFailPoint",
2681 "object": "testRunner",
2682 "arguments": {
2683 "session": "session0",
2684 "failPoint": {
2685 "configureFailPoint": "failCommand",
2686 "mode": {
2687 "times": 1
2688 },
2689 "data": {
2690 "failCommands": [
2691 "delete"
2692 ],
2693 "closeConnection": true
2694 }
2695 }
2696 }
2697 },
2698 {
2699 "name": "deleteOne",
2700 "object": "collection",
2701 "arguments": {
2702 "session": "session0",
2703 "filter": {
2704 "_id": 1
2705 }
2706 },
2707 "result": {
2708 "errorLabelsContain": [
2709 "TransientTransactionError"
2710 ]
2711 }
2712 },
2713 {
2714 "name": "assertSessionUnpinned",
2715 "object": "testRunner",
2716 "arguments": {
2717 "session": "session0"
2718 }
2719 },
2720 {
2721 "name": "abortTransaction",
2722 "object": "session0"
2723 }
2724 ],
2725 "outcome": {
2726 "collection": {
2727 "data": [
2728 {
2729 "_id": 1
2730 },
2731 {
2732 "_id": 2
2733 }
2734 ]
2735 }
2736 }
2737 },
2738 {
2739 "description": "unpin after transient ShutdownInProgress error on deleteOne delete",
2740 "useMultipleMongoses": true,
2741 "operations": [
2742 {
2743 "name": "startTransaction",
2744 "object": "session0"
2745 },
2746 {
2747 "name": "insertOne",
2748 "object": "collection",
2749 "arguments": {
2750 "session": "session0",
2751 "document": {
2752 "_id": 3
2753 }
2754 },
2755 "result": {
2756 "insertedId": 3
2757 }
2758 },
2759 {
2760 "name": "targetedFailPoint",
2761 "object": "testRunner",
2762 "arguments": {
2763 "session": "session0",
2764 "failPoint": {
2765 "configureFailPoint": "failCommand",
2766 "mode": {
2767 "times": 1
2768 },
2769 "data": {
2770 "failCommands": [
2771 "delete"
2772 ],
2773 "errorCode": 91
2774 }
2775 }
2776 }
2777 },
2778 {
2779 "name": "deleteOne",
2780 "object": "collection",
2781 "arguments": {
2782 "session": "session0",
2783 "filter": {
2784 "_id": 1
2785 }
2786 },
2787 "result": {
2788 "errorLabelsContain": [
2789 "TransientTransactionError"
2790 ]
2791 }
2792 },
2793 {
2794 "name": "assertSessionUnpinned",
2795 "object": "testRunner",
2796 "arguments": {
2797 "session": "session0"
2798 }
2799 },
2800 {
2801 "name": "abortTransaction",
2802 "object": "session0"
2803 }
2804 ],
2805 "outcome": {
2806 "collection": {
2807 "data": [
2808 {
2809 "_id": 1
2810 },
2811 {
2812 "_id": 2
2813 }
2814 ]
2815 }
2816 }
2817 },
2818 {
2819 "description": "unpin after transient connection error on deleteMany delete",
2820 "useMultipleMongoses": true,
2821 "operations": [
2822 {
2823 "name": "startTransaction",
2824 "object": "session0"
2825 },
2826 {
2827 "name": "insertOne",
2828 "object": "collection",
2829 "arguments": {
2830 "session": "session0",
2831 "document": {
2832 "_id": 3
2833 }
2834 },
2835 "result": {
2836 "insertedId": 3
2837 }
2838 },
2839 {
2840 "name": "targetedFailPoint",
2841 "object": "testRunner",
2842 "arguments": {
2843 "session": "session0",
2844 "failPoint": {
2845 "configureFailPoint": "failCommand",
2846 "mode": {
2847 "times": 1
2848 },
2849 "data": {
2850 "failCommands": [
2851 "delete"
2852 ],
2853 "closeConnection": true
2854 }
2855 }
2856 }
2857 },
2858 {
2859 "name": "deleteMany",
2860 "object": "collection",
2861 "arguments": {
2862 "session": "session0",
2863 "filter": {
2864 "_id": {
2865 "$gte": 1
2866 }
2867 }
2868 },
2869 "result": {
2870 "errorLabelsContain": [
2871 "TransientTransactionError"
2872 ]
2873 }
2874 },
2875 {
2876 "name": "assertSessionUnpinned",
2877 "object": "testRunner",
2878 "arguments": {
2879 "session": "session0"
2880 }
2881 },
2882 {
2883 "name": "abortTransaction",
2884 "object": "session0"
2885 }
2886 ],
2887 "outcome": {
2888 "collection": {
2889 "data": [
2890 {
2891 "_id": 1
2892 },
2893 {
2894 "_id": 2
2895 }
2896 ]
2897 }
2898 }
2899 },
2900 {
2901 "description": "unpin after transient ShutdownInProgress error on deleteMany delete",
2902 "useMultipleMongoses": true,
2903 "operations": [
2904 {
2905 "name": "startTransaction",
2906 "object": "session0"
2907 },
2908 {
2909 "name": "insertOne",
2910 "object": "collection",
2911 "arguments": {
2912 "session": "session0",
2913 "document": {
2914 "_id": 3
2915 }
2916 },
2917 "result": {
2918 "insertedId": 3
2919 }
2920 },
2921 {
2922 "name": "targetedFailPoint",
2923 "object": "testRunner",
2924 "arguments": {
2925 "session": "session0",
2926 "failPoint": {
2927 "configureFailPoint": "failCommand",
2928 "mode": {
2929 "times": 1
2930 },
2931 "data": {
2932 "failCommands": [
2933 "delete"
2934 ],
2935 "errorCode": 91
2936 }
2937 }
2938 }
2939 },
2940 {
2941 "name": "deleteMany",
2942 "object": "collection",
2943 "arguments": {
2944 "session": "session0",
2945 "filter": {
2946 "_id": {
2947 "$gte": 1
2948 }
2949 }
2950 },
2951 "result": {
2952 "errorLabelsContain": [
2953 "TransientTransactionError"
2954 ]
2955 }
2956 },
2957 {
2958 "name": "assertSessionUnpinned",
2959 "object": "testRunner",
2960 "arguments": {
2961 "session": "session0"
2962 }
2963 },
2964 {
2965 "name": "abortTransaction",
2966 "object": "session0"
2967 }
2968 ],
2969 "outcome": {
2970 "collection": {
2971 "data": [
2972 {
2973 "_id": 1
2974 },
2975 {
2976 "_id": 2
2977 }
2978 ]
2979 }
2980 }
2981 },
2982 {
2983 "description": "unpin after transient connection error on findOneAndDelete findAndModify",
2984 "useMultipleMongoses": true,
2985 "operations": [
2986 {
2987 "name": "startTransaction",
2988 "object": "session0"
2989 },
2990 {
2991 "name": "insertOne",
2992 "object": "collection",
2993 "arguments": {
2994 "session": "session0",
2995 "document": {
2996 "_id": 3
2997 }
2998 },
2999 "result": {
3000 "insertedId": 3
3001 }
3002 },
3003 {
3004 "name": "targetedFailPoint",
3005 "object": "testRunner",
3006 "arguments": {
3007 "session": "session0",
3008 "failPoint": {
3009 "configureFailPoint": "failCommand",
3010 "mode": {
3011 "times": 1
3012 },
3013 "data": {
3014 "failCommands": [
3015 "findAndModify"
3016 ],
3017 "closeConnection": true
3018 }
3019 }
3020 }
3021 },
3022 {
3023 "name": "findOneAndDelete",
3024 "object": "collection",
3025 "arguments": {
3026 "session": "session0",
3027 "filter": {
3028 "_id": 1
3029 }
3030 },
3031 "result": {
3032 "errorLabelsContain": [
3033 "TransientTransactionError"
3034 ]
3035 }
3036 },
3037 {
3038 "name": "assertSessionUnpinned",
3039 "object": "testRunner",
3040 "arguments": {
3041 "session": "session0"
3042 }
3043 },
3044 {
3045 "name": "abortTransaction",
3046 "object": "session0"
3047 }
3048 ],
3049 "outcome": {
3050 "collection": {
3051 "data": [
3052 {
3053 "_id": 1
3054 },
3055 {
3056 "_id": 2
3057 }
3058 ]
3059 }
3060 }
3061 },
3062 {
3063 "description": "unpin after transient ShutdownInProgress error on findOneAndDelete findAndModify",
3064 "useMultipleMongoses": true,
3065 "operations": [
3066 {
3067 "name": "startTransaction",
3068 "object": "session0"
3069 },
3070 {
3071 "name": "insertOne",
3072 "object": "collection",
3073 "arguments": {
3074 "session": "session0",
3075 "document": {
3076 "_id": 3
3077 }
3078 },
3079 "result": {
3080 "insertedId": 3
3081 }
3082 },
3083 {
3084 "name": "targetedFailPoint",
3085 "object": "testRunner",
3086 "arguments": {
3087 "session": "session0",
3088 "failPoint": {
3089 "configureFailPoint": "failCommand",
3090 "mode": {
3091 "times": 1
3092 },
3093 "data": {
3094 "failCommands": [
3095 "findAndModify"
3096 ],
3097 "errorCode": 91
3098 }
3099 }
3100 }
3101 },
3102 {
3103 "name": "findOneAndDelete",
3104 "object": "collection",
3105 "arguments": {
3106 "session": "session0",
3107 "filter": {
3108 "_id": 1
3109 }
3110 },
3111 "result": {
3112 "errorLabelsContain": [
3113 "TransientTransactionError"
3114 ]
3115 }
3116 },
3117 {
3118 "name": "assertSessionUnpinned",
3119 "object": "testRunner",
3120 "arguments": {
3121 "session": "session0"
3122 }
3123 },
3124 {
3125 "name": "abortTransaction",
3126 "object": "session0"
3127 }
3128 ],
3129 "outcome": {
3130 "collection": {
3131 "data": [
3132 {
3133 "_id": 1
3134 },
3135 {
3136 "_id": 2
3137 }
3138 ]
3139 }
3140 }
3141 },
3142 {
3143 "description": "unpin after transient connection error on findOneAndUpdate findAndModify",
3144 "useMultipleMongoses": true,
3145 "operations": [
3146 {
3147 "name": "startTransaction",
3148 "object": "session0"
3149 },
3150 {
3151 "name": "insertOne",
3152 "object": "collection",
3153 "arguments": {
3154 "session": "session0",
3155 "document": {
3156 "_id": 3
3157 }
3158 },
3159 "result": {
3160 "insertedId": 3
3161 }
3162 },
3163 {
3164 "name": "targetedFailPoint",
3165 "object": "testRunner",
3166 "arguments": {
3167 "session": "session0",
3168 "failPoint": {
3169 "configureFailPoint": "failCommand",
3170 "mode": {
3171 "times": 1
3172 },
3173 "data": {
3174 "failCommands": [
3175 "findAndModify"
3176 ],
3177 "closeConnection": true
3178 }
3179 }
3180 }
3181 },
3182 {
3183 "name": "findOneAndUpdate",
3184 "object": "collection",
3185 "arguments": {
3186 "session": "session0",
3187 "filter": {
3188 "_id": 1
3189 },
3190 "update": {
3191 "$inc": {
3192 "x": 1
3193 }
3194 },
3195 "returnDocument": "Before"
3196 },
3197 "result": {
3198 "errorLabelsContain": [
3199 "TransientTransactionError"
3200 ]
3201 }
3202 },
3203 {
3204 "name": "assertSessionUnpinned",
3205 "object": "testRunner",
3206 "arguments": {
3207 "session": "session0"
3208 }
3209 },
3210 {
3211 "name": "abortTransaction",
3212 "object": "session0"
3213 }
3214 ],
3215 "outcome": {
3216 "collection": {
3217 "data": [
3218 {
3219 "_id": 1
3220 },
3221 {
3222 "_id": 2
3223 }
3224 ]
3225 }
3226 }
3227 },
3228 {
3229 "description": "unpin after transient ShutdownInProgress error on findOneAndUpdate findAndModify",
3230 "useMultipleMongoses": true,
3231 "operations": [
3232 {
3233 "name": "startTransaction",
3234 "object": "session0"
3235 },
3236 {
3237 "name": "insertOne",
3238 "object": "collection",
3239 "arguments": {
3240 "session": "session0",
3241 "document": {
3242 "_id": 3
3243 }
3244 },
3245 "result": {
3246 "insertedId": 3
3247 }
3248 },
3249 {
3250 "name": "targetedFailPoint",
3251 "object": "testRunner",
3252 "arguments": {
3253 "session": "session0",
3254 "failPoint": {
3255 "configureFailPoint": "failCommand",
3256 "mode": {
3257 "times": 1
3258 },
3259 "data": {
3260 "failCommands": [
3261 "findAndModify"
3262 ],
3263 "errorCode": 91
3264 }
3265 }
3266 }
3267 },
3268 {
3269 "name": "findOneAndUpdate",
3270 "object": "collection",
3271 "arguments": {
3272 "session": "session0",
3273 "filter": {
3274 "_id": 1
3275 },
3276 "update": {
3277 "$inc": {
3278 "x": 1
3279 }
3280 },
3281 "returnDocument": "Before"
3282 },
3283 "result": {
3284 "errorLabelsContain": [
3285 "TransientTransactionError"
3286 ]
3287 }
3288 },
3289 {
3290 "name": "assertSessionUnpinned",
3291 "object": "testRunner",
3292 "arguments": {
3293 "session": "session0"
3294 }
3295 },
3296 {
3297 "name": "abortTransaction",
3298 "object": "session0"
3299 }
3300 ],
3301 "outcome": {
3302 "collection": {
3303 "data": [
3304 {
3305 "_id": 1
3306 },
3307 {
3308 "_id": 2
3309 }
3310 ]
3311 }
3312 }
3313 },
3314 {
3315 "description": "unpin after transient connection error on findOneAndReplace findAndModify",
3316 "useMultipleMongoses": true,
3317 "operations": [
3318 {
3319 "name": "startTransaction",
3320 "object": "session0"
3321 },
3322 {
3323 "name": "insertOne",
3324 "object": "collection",
3325 "arguments": {
3326 "session": "session0",
3327 "document": {
3328 "_id": 3
3329 }
3330 },
3331 "result": {
3332 "insertedId": 3
3333 }
3334 },
3335 {
3336 "name": "targetedFailPoint",
3337 "object": "testRunner",
3338 "arguments": {
3339 "session": "session0",
3340 "failPoint": {
3341 "configureFailPoint": "failCommand",
3342 "mode": {
3343 "times": 1
3344 },
3345 "data": {
3346 "failCommands": [
3347 "findAndModify"
3348 ],
3349 "closeConnection": true
3350 }
3351 }
3352 }
3353 },
3354 {
3355 "name": "findOneAndReplace",
3356 "object": "collection",
3357 "arguments": {
3358 "session": "session0",
3359 "filter": {
3360 "_id": 1
3361 },
3362 "replacement": {
3363 "y": 1
3364 },
3365 "returnDocument": "Before"
3366 },
3367 "result": {
3368 "errorLabelsContain": [
3369 "TransientTransactionError"
3370 ]
3371 }
3372 },
3373 {
3374 "name": "assertSessionUnpinned",
3375 "object": "testRunner",
3376 "arguments": {
3377 "session": "session0"
3378 }
3379 },
3380 {
3381 "name": "abortTransaction",
3382 "object": "session0"
3383 }
3384 ],
3385 "outcome": {
3386 "collection": {
3387 "data": [
3388 {
3389 "_id": 1
3390 },
3391 {
3392 "_id": 2
3393 }
3394 ]
3395 }
3396 }
3397 },
3398 {
3399 "description": "unpin after transient ShutdownInProgress error on findOneAndReplace findAndModify",
3400 "useMultipleMongoses": true,
3401 "operations": [
3402 {
3403 "name": "startTransaction",
3404 "object": "session0"
3405 },
3406 {
3407 "name": "insertOne",
3408 "object": "collection",
3409 "arguments": {
3410 "session": "session0",
3411 "document": {
3412 "_id": 3
3413 }
3414 },
3415 "result": {
3416 "insertedId": 3
3417 }
3418 },
3419 {
3420 "name": "targetedFailPoint",
3421 "object": "testRunner",
3422 "arguments": {
3423 "session": "session0",
3424 "failPoint": {
3425 "configureFailPoint": "failCommand",
3426 "mode": {
3427 "times": 1
3428 },
3429 "data": {
3430 "failCommands": [
3431 "findAndModify"
3432 ],
3433 "errorCode": 91
3434 }
3435 }
3436 }
3437 },
3438 {
3439 "name": "findOneAndReplace",
3440 "object": "collection",
3441 "arguments": {
3442 "session": "session0",
3443 "filter": {
3444 "_id": 1
3445 },
3446 "replacement": {
3447 "y": 1
3448 },
3449 "returnDocument": "Before"
3450 },
3451 "result": {
3452 "errorLabelsContain": [
3453 "TransientTransactionError"
3454 ]
3455 }
3456 },
3457 {
3458 "name": "assertSessionUnpinned",
3459 "object": "testRunner",
3460 "arguments": {
3461 "session": "session0"
3462 }
3463 },
3464 {
3465 "name": "abortTransaction",
3466 "object": "session0"
3467 }
3468 ],
3469 "outcome": {
3470 "collection": {
3471 "data": [
3472 {
3473 "_id": 1
3474 },
3475 {
3476 "_id": 2
3477 }
3478 ]
3479 }
3480 }
3481 },
3482 {
3483 "description": "unpin after transient connection error on bulkWrite insert",
3484 "useMultipleMongoses": true,
3485 "operations": [
3486 {
3487 "name": "startTransaction",
3488 "object": "session0"
3489 },
3490 {
3491 "name": "insertOne",
3492 "object": "collection",
3493 "arguments": {
3494 "session": "session0",
3495 "document": {
3496 "_id": 3
3497 }
3498 },
3499 "result": {
3500 "insertedId": 3
3501 }
3502 },
3503 {
3504 "name": "targetedFailPoint",
3505 "object": "testRunner",
3506 "arguments": {
3507 "session": "session0",
3508 "failPoint": {
3509 "configureFailPoint": "failCommand",
3510 "mode": {
3511 "times": 1
3512 },
3513 "data": {
3514 "failCommands": [
3515 "insert"
3516 ],
3517 "closeConnection": true
3518 }
3519 }
3520 }
3521 },
3522 {
3523 "name": "bulkWrite",
3524 "object": "collection",
3525 "arguments": {
3526 "session": "session0",
3527 "requests": [
3528 {
3529 "name": "insertOne",
3530 "arguments": {
3531 "document": {
3532 "_id": 1
3533 }
3534 }
3535 }
3536 ]
3537 },
3538 "result": {
3539 "errorLabelsContain": [
3540 "TransientTransactionError"
3541 ]
3542 }
3543 },
3544 {
3545 "name": "assertSessionUnpinned",
3546 "object": "testRunner",
3547 "arguments": {
3548 "session": "session0"
3549 }
3550 },
3551 {
3552 "name": "abortTransaction",
3553 "object": "session0"
3554 }
3555 ],
3556 "outcome": {
3557 "collection": {
3558 "data": [
3559 {
3560 "_id": 1
3561 },
3562 {
3563 "_id": 2
3564 }
3565 ]
3566 }
3567 }
3568 },
3569 {
3570 "description": "unpin after transient ShutdownInProgress error on bulkWrite insert",
3571 "useMultipleMongoses": true,
3572 "operations": [
3573 {
3574 "name": "startTransaction",
3575 "object": "session0"
3576 },
3577 {
3578 "name": "insertOne",
3579 "object": "collection",
3580 "arguments": {
3581 "session": "session0",
3582 "document": {
3583 "_id": 3
3584 }
3585 },
3586 "result": {
3587 "insertedId": 3
3588 }
3589 },
3590 {
3591 "name": "targetedFailPoint",
3592 "object": "testRunner",
3593 "arguments": {
3594 "session": "session0",
3595 "failPoint": {
3596 "configureFailPoint": "failCommand",
3597 "mode": {
3598 "times": 1
3599 },
3600 "data": {
3601 "failCommands": [
3602 "insert"
3603 ],
3604 "errorCode": 91
3605 }
3606 }
3607 }
3608 },
3609 {
3610 "name": "bulkWrite",
3611 "object": "collection",
3612 "arguments": {
3613 "session": "session0",
3614 "requests": [
3615 {
3616 "name": "insertOne",
3617 "arguments": {
3618 "document": {
3619 "_id": 1
3620 }
3621 }
3622 }
3623 ]
3624 },
3625 "result": {
3626 "errorLabelsContain": [
3627 "TransientTransactionError"
3628 ]
3629 }
3630 },
3631 {
3632 "name": "assertSessionUnpinned",
3633 "object": "testRunner",
3634 "arguments": {
3635 "session": "session0"
3636 }
3637 },
3638 {
3639 "name": "abortTransaction",
3640 "object": "session0"
3641 }
3642 ],
3643 "outcome": {
3644 "collection": {
3645 "data": [
3646 {
3647 "_id": 1
3648 },
3649 {
3650 "_id": 2
3651 }
3652 ]
3653 }
3654 }
3655 },
3656 {
3657 "description": "unpin after transient connection error on bulkWrite update",
3658 "useMultipleMongoses": true,
3659 "operations": [
3660 {
3661 "name": "startTransaction",
3662 "object": "session0"
3663 },
3664 {
3665 "name": "insertOne",
3666 "object": "collection",
3667 "arguments": {
3668 "session": "session0",
3669 "document": {
3670 "_id": 3
3671 }
3672 },
3673 "result": {
3674 "insertedId": 3
3675 }
3676 },
3677 {
3678 "name": "targetedFailPoint",
3679 "object": "testRunner",
3680 "arguments": {
3681 "session": "session0",
3682 "failPoint": {
3683 "configureFailPoint": "failCommand",
3684 "mode": {
3685 "times": 1
3686 },
3687 "data": {
3688 "failCommands": [
3689 "update"
3690 ],
3691 "closeConnection": true
3692 }
3693 }
3694 }
3695 },
3696 {
3697 "name": "bulkWrite",
3698 "object": "collection",
3699 "arguments": {
3700 "session": "session0",
3701 "requests": [
3702 {
3703 "name": "updateOne",
3704 "arguments": {
3705 "filter": {
3706 "_id": 1
3707 },
3708 "update": {
3709 "$set": {
3710 "x": 1
3711 }
3712 }
3713 }
3714 }
3715 ]
3716 },
3717 "result": {
3718 "errorLabelsContain": [
3719 "TransientTransactionError"
3720 ]
3721 }
3722 },
3723 {
3724 "name": "assertSessionUnpinned",
3725 "object": "testRunner",
3726 "arguments": {
3727 "session": "session0"
3728 }
3729 },
3730 {
3731 "name": "abortTransaction",
3732 "object": "session0"
3733 }
3734 ],
3735 "outcome": {
3736 "collection": {
3737 "data": [
3738 {
3739 "_id": 1
3740 },
3741 {
3742 "_id": 2
3743 }
3744 ]
3745 }
3746 }
3747 },
3748 {
3749 "description": "unpin after transient ShutdownInProgress error on bulkWrite update",
3750 "useMultipleMongoses": true,
3751 "operations": [
3752 {
3753 "name": "startTransaction",
3754 "object": "session0"
3755 },
3756 {
3757 "name": "insertOne",
3758 "object": "collection",
3759 "arguments": {
3760 "session": "session0",
3761 "document": {
3762 "_id": 3
3763 }
3764 },
3765 "result": {
3766 "insertedId": 3
3767 }
3768 },
3769 {
3770 "name": "targetedFailPoint",
3771 "object": "testRunner",
3772 "arguments": {
3773 "session": "session0",
3774 "failPoint": {
3775 "configureFailPoint": "failCommand",
3776 "mode": {
3777 "times": 1
3778 },
3779 "data": {
3780 "failCommands": [
3781 "update"
3782 ],
3783 "errorCode": 91
3784 }
3785 }
3786 }
3787 },
3788 {
3789 "name": "bulkWrite",
3790 "object": "collection",
3791 "arguments": {
3792 "session": "session0",
3793 "requests": [
3794 {
3795 "name": "updateOne",
3796 "arguments": {
3797 "filter": {
3798 "_id": 1
3799 },
3800 "update": {
3801 "$set": {
3802 "x": 1
3803 }
3804 }
3805 }
3806 }
3807 ]
3808 },
3809 "result": {
3810 "errorLabelsContain": [
3811 "TransientTransactionError"
3812 ]
3813 }
3814 },
3815 {
3816 "name": "assertSessionUnpinned",
3817 "object": "testRunner",
3818 "arguments": {
3819 "session": "session0"
3820 }
3821 },
3822 {
3823 "name": "abortTransaction",
3824 "object": "session0"
3825 }
3826 ],
3827 "outcome": {
3828 "collection": {
3829 "data": [
3830 {
3831 "_id": 1
3832 },
3833 {
3834 "_id": 2
3835 }
3836 ]
3837 }
3838 }
3839 },
3840 {
3841 "description": "unpin after transient connection error on bulkWrite delete",
3842 "useMultipleMongoses": true,
3843 "operations": [
3844 {
3845 "name": "startTransaction",
3846 "object": "session0"
3847 },
3848 {
3849 "name": "insertOne",
3850 "object": "collection",
3851 "arguments": {
3852 "session": "session0",
3853 "document": {
3854 "_id": 3
3855 }
3856 },
3857 "result": {
3858 "insertedId": 3
3859 }
3860 },
3861 {
3862 "name": "targetedFailPoint",
3863 "object": "testRunner",
3864 "arguments": {
3865 "session": "session0",
3866 "failPoint": {
3867 "configureFailPoint": "failCommand",
3868 "mode": {
3869 "times": 1
3870 },
3871 "data": {
3872 "failCommands": [
3873 "delete"
3874 ],
3875 "closeConnection": true
3876 }
3877 }
3878 }
3879 },
3880 {
3881 "name": "bulkWrite",
3882 "object": "collection",
3883 "arguments": {
3884 "session": "session0",
3885 "requests": [
3886 {
3887 "name": "deleteOne",
3888 "arguments": {
3889 "filter": {
3890 "_id": 1
3891 }
3892 }
3893 }
3894 ]
3895 },
3896 "result": {
3897 "errorLabelsContain": [
3898 "TransientTransactionError"
3899 ]
3900 }
3901 },
3902 {
3903 "name": "assertSessionUnpinned",
3904 "object": "testRunner",
3905 "arguments": {
3906 "session": "session0"
3907 }
3908 },
3909 {
3910 "name": "abortTransaction",
3911 "object": "session0"
3912 }
3913 ],
3914 "outcome": {
3915 "collection": {
3916 "data": [
3917 {
3918 "_id": 1
3919 },
3920 {
3921 "_id": 2
3922 }
3923 ]
3924 }
3925 }
3926 },
3927 {
3928 "description": "unpin after transient ShutdownInProgress error on bulkWrite delete",
3929 "useMultipleMongoses": true,
3930 "operations": [
3931 {
3932 "name": "startTransaction",
3933 "object": "session0"
3934 },
3935 {
3936 "name": "insertOne",
3937 "object": "collection",
3938 "arguments": {
3939 "session": "session0",
3940 "document": {
3941 "_id": 3
3942 }
3943 },
3944 "result": {
3945 "insertedId": 3
3946 }
3947 },
3948 {
3949 "name": "targetedFailPoint",
3950 "object": "testRunner",
3951 "arguments": {
3952 "session": "session0",
3953 "failPoint": {
3954 "configureFailPoint": "failCommand",
3955 "mode": {
3956 "times": 1
3957 },
3958 "data": {
3959 "failCommands": [
3960 "delete"
3961 ],
3962 "errorCode": 91
3963 }
3964 }
3965 }
3966 },
3967 {
3968 "name": "bulkWrite",
3969 "object": "collection",
3970 "arguments": {
3971 "session": "session0",
3972 "requests": [
3973 {
3974 "name": "deleteOne",
3975 "arguments": {
3976 "filter": {
3977 "_id": 1
3978 }
3979 }
3980 }
3981 ]
3982 },
3983 "result": {
3984 "errorLabelsContain": [
3985 "TransientTransactionError"
3986 ]
3987 }
3988 },
3989 {
3990 "name": "assertSessionUnpinned",
3991 "object": "testRunner",
3992 "arguments": {
3993 "session": "session0"
3994 }
3995 },
3996 {
3997 "name": "abortTransaction",
3998 "object": "session0"
3999 }
4000 ],
4001 "outcome": {
4002 "collection": {
4003 "data": [
4004 {
4005 "_id": 1
4006 },
4007 {
4008 "_id": 2
4009 }
4010 ]
4011 }
4012 }
4013 },
4014 {
4015 "description": "unpin after transient connection error on find find",
4016 "useMultipleMongoses": true,
4017 "operations": [
4018 {
4019 "name": "startTransaction",
4020 "object": "session0"
4021 },
4022 {
4023 "name": "insertOne",
4024 "object": "collection",
4025 "arguments": {
4026 "session": "session0",
4027 "document": {
4028 "_id": 3
4029 }
4030 },
4031 "result": {
4032 "insertedId": 3
4033 }
4034 },
4035 {
4036 "name": "targetedFailPoint",
4037 "object": "testRunner",
4038 "arguments": {
4039 "session": "session0",
4040 "failPoint": {
4041 "configureFailPoint": "failCommand",
4042 "mode": {
4043 "times": 1
4044 },
4045 "data": {
4046 "failCommands": [
4047 "find"
4048 ],
4049 "closeConnection": true
4050 }
4051 }
4052 }
4053 },
4054 {
4055 "name": "find",
4056 "object": "collection",
4057 "arguments": {
4058 "session": "session0",
4059 "filter": {
4060 "_id": 1
4061 }
4062 },
4063 "result": {
4064 "errorLabelsContain": [
4065 "TransientTransactionError"
4066 ]
4067 }
4068 },
4069 {
4070 "name": "assertSessionUnpinned",
4071 "object": "testRunner",
4072 "arguments": {
4073 "session": "session0"
4074 }
4075 },
4076 {
4077 "name": "abortTransaction",
4078 "object": "session0"
4079 }
4080 ],
4081 "outcome": {
4082 "collection": {
4083 "data": [
4084 {
4085 "_id": 1
4086 },
4087 {
4088 "_id": 2
4089 }
4090 ]
4091 }
4092 }
4093 },
4094 {
4095 "description": "unpin after transient ShutdownInProgress error on find find",
4096 "useMultipleMongoses": true,
4097 "operations": [
4098 {
4099 "name": "startTransaction",
4100 "object": "session0"
4101 },
4102 {
4103 "name": "insertOne",
4104 "object": "collection",
4105 "arguments": {
4106 "session": "session0",
4107 "document": {
4108 "_id": 3
4109 }
4110 },
4111 "result": {
4112 "insertedId": 3
4113 }
4114 },
4115 {
4116 "name": "targetedFailPoint",
4117 "object": "testRunner",
4118 "arguments": {
4119 "session": "session0",
4120 "failPoint": {
4121 "configureFailPoint": "failCommand",
4122 "mode": {
4123 "times": 1
4124 },
4125 "data": {
4126 "failCommands": [
4127 "find"
4128 ],
4129 "errorCode": 91
4130 }
4131 }
4132 }
4133 },
4134 {
4135 "name": "find",
4136 "object": "collection",
4137 "arguments": {
4138 "session": "session0",
4139 "filter": {
4140 "_id": 1
4141 }
4142 },
4143 "result": {
4144 "errorLabelsContain": [
4145 "TransientTransactionError"
4146 ]
4147 }
4148 },
4149 {
4150 "name": "assertSessionUnpinned",
4151 "object": "testRunner",
4152 "arguments": {
4153 "session": "session0"
4154 }
4155 },
4156 {
4157 "name": "abortTransaction",
4158 "object": "session0"
4159 }
4160 ],
4161 "outcome": {
4162 "collection": {
4163 "data": [
4164 {
4165 "_id": 1
4166 },
4167 {
4168 "_id": 2
4169 }
4170 ]
4171 }
4172 }
4173 },
4174 {
4175 "description": "unpin after transient connection error on countDocuments aggregate",
4176 "useMultipleMongoses": true,
4177 "operations": [
4178 {
4179 "name": "startTransaction",
4180 "object": "session0"
4181 },
4182 {
4183 "name": "insertOne",
4184 "object": "collection",
4185 "arguments": {
4186 "session": "session0",
4187 "document": {
4188 "_id": 3
4189 }
4190 },
4191 "result": {
4192 "insertedId": 3
4193 }
4194 },
4195 {
4196 "name": "targetedFailPoint",
4197 "object": "testRunner",
4198 "arguments": {
4199 "session": "session0",
4200 "failPoint": {
4201 "configureFailPoint": "failCommand",
4202 "mode": {
4203 "times": 1
4204 },
4205 "data": {
4206 "failCommands": [
4207 "aggregate"
4208 ],
4209 "closeConnection": true
4210 }
4211 }
4212 }
4213 },
4214 {
4215 "name": "countDocuments",
4216 "object": "collection",
4217 "arguments": {
4218 "session": "session0",
4219 "filter": {}
4220 },
4221 "result": {
4222 "errorLabelsContain": [
4223 "TransientTransactionError"
4224 ]
4225 }
4226 },
4227 {
4228 "name": "assertSessionUnpinned",
4229 "object": "testRunner",
4230 "arguments": {
4231 "session": "session0"
4232 }
4233 },
4234 {
4235 "name": "abortTransaction",
4236 "object": "session0"
4237 }
4238 ],
4239 "outcome": {
4240 "collection": {
4241 "data": [
4242 {
4243 "_id": 1
4244 },
4245 {
4246 "_id": 2
4247 }
4248 ]
4249 }
4250 }
4251 },
4252 {
4253 "description": "unpin after transient ShutdownInProgress error on countDocuments aggregate",
4254 "useMultipleMongoses": true,
4255 "operations": [
4256 {
4257 "name": "startTransaction",
4258 "object": "session0"
4259 },
4260 {
4261 "name": "insertOne",
4262 "object": "collection",
4263 "arguments": {
4264 "session": "session0",
4265 "document": {
4266 "_id": 3
4267 }
4268 },
4269 "result": {
4270 "insertedId": 3
4271 }
4272 },
4273 {
4274 "name": "targetedFailPoint",
4275 "object": "testRunner",
4276 "arguments": {
4277 "session": "session0",
4278 "failPoint": {
4279 "configureFailPoint": "failCommand",
4280 "mode": {
4281 "times": 1
4282 },
4283 "data": {
4284 "failCommands": [
4285 "aggregate"
4286 ],
4287 "errorCode": 91
4288 }
4289 }
4290 }
4291 },
4292 {
4293 "name": "countDocuments",
4294 "object": "collection",
4295 "arguments": {
4296 "session": "session0",
4297 "filter": {}
4298 },
4299 "result": {
4300 "errorLabelsContain": [
4301 "TransientTransactionError"
4302 ]
4303 }
4304 },
4305 {
4306 "name": "assertSessionUnpinned",
4307 "object": "testRunner",
4308 "arguments": {
4309 "session": "session0"
4310 }
4311 },
4312 {
4313 "name": "abortTransaction",
4314 "object": "session0"
4315 }
4316 ],
4317 "outcome": {
4318 "collection": {
4319 "data": [
4320 {
4321 "_id": 1
4322 },
4323 {
4324 "_id": 2
4325 }
4326 ]
4327 }
4328 }
4329 },
4330 {
4331 "description": "unpin after transient connection error on aggregate aggregate",
4332 "useMultipleMongoses": true,
4333 "operations": [
4334 {
4335 "name": "startTransaction",
4336 "object": "session0"
4337 },
4338 {
4339 "name": "insertOne",
4340 "object": "collection",
4341 "arguments": {
4342 "session": "session0",
4343 "document": {
4344 "_id": 3
4345 }
4346 },
4347 "result": {
4348 "insertedId": 3
4349 }
4350 },
4351 {
4352 "name": "targetedFailPoint",
4353 "object": "testRunner",
4354 "arguments": {
4355 "session": "session0",
4356 "failPoint": {
4357 "configureFailPoint": "failCommand",
4358 "mode": {
4359 "times": 1
4360 },
4361 "data": {
4362 "failCommands": [
4363 "aggregate"
4364 ],
4365 "closeConnection": true
4366 }
4367 }
4368 }
4369 },
4370 {
4371 "name": "aggregate",
4372 "object": "collection",
4373 "arguments": {
4374 "session": "session0",
4375 "pipeline": []
4376 },
4377 "result": {
4378 "errorLabelsContain": [
4379 "TransientTransactionError"
4380 ]
4381 }
4382 },
4383 {
4384 "name": "assertSessionUnpinned",
4385 "object": "testRunner",
4386 "arguments": {
4387 "session": "session0"
4388 }
4389 },
4390 {
4391 "name": "abortTransaction",
4392 "object": "session0"
4393 }
4394 ],
4395 "outcome": {
4396 "collection": {
4397 "data": [
4398 {
4399 "_id": 1
4400 },
4401 {
4402 "_id": 2
4403 }
4404 ]
4405 }
4406 }
4407 },
4408 {
4409 "description": "unpin after transient ShutdownInProgress error on aggregate aggregate",
4410 "useMultipleMongoses": true,
4411 "operations": [
4412 {
4413 "name": "startTransaction",
4414 "object": "session0"
4415 },
4416 {
4417 "name": "insertOne",
4418 "object": "collection",
4419 "arguments": {
4420 "session": "session0",
4421 "document": {
4422 "_id": 3
4423 }
4424 },
4425 "result": {
4426 "insertedId": 3
4427 }
4428 },
4429 {
4430 "name": "targetedFailPoint",
4431 "object": "testRunner",
4432 "arguments": {
4433 "session": "session0",
4434 "failPoint": {
4435 "configureFailPoint": "failCommand",
4436 "mode": {
4437 "times": 1
4438 },
4439 "data": {
4440 "failCommands": [
4441 "aggregate"
4442 ],
4443 "errorCode": 91
4444 }
4445 }
4446 }
4447 },
4448 {
4449 "name": "aggregate",
4450 "object": "collection",
4451 "arguments": {
4452 "session": "session0",
4453 "pipeline": []
4454 },
4455 "result": {
4456 "errorLabelsContain": [
4457 "TransientTransactionError"
4458 ]
4459 }
4460 },
4461 {
4462 "name": "assertSessionUnpinned",
4463 "object": "testRunner",
4464 "arguments": {
4465 "session": "session0"
4466 }
4467 },
4468 {
4469 "name": "abortTransaction",
4470 "object": "session0"
4471 }
4472 ],
4473 "outcome": {
4474 "collection": {
4475 "data": [
4476 {
4477 "_id": 1
4478 },
4479 {
4480 "_id": 2
4481 }
4482 ]
4483 }
4484 }
4485 },
4486 {
4487 "description": "unpin after transient connection error on distinct distinct",
4488 "useMultipleMongoses": true,
4489 "operations": [
4490 {
4491 "name": "startTransaction",
4492 "object": "session0"
4493 },
4494 {
4495 "name": "insertOne",
4496 "object": "collection",
4497 "arguments": {
4498 "session": "session0",
4499 "document": {
4500 "_id": 3
4501 }
4502 },
4503 "result": {
4504 "insertedId": 3
4505 }
4506 },
4507 {
4508 "name": "targetedFailPoint",
4509 "object": "testRunner",
4510 "arguments": {
4511 "session": "session0",
4512 "failPoint": {
4513 "configureFailPoint": "failCommand",
4514 "mode": {
4515 "times": 1
4516 },
4517 "data": {
4518 "failCommands": [
4519 "distinct"
4520 ],
4521 "closeConnection": true
4522 }
4523 }
4524 }
4525 },
4526 {
4527 "name": "distinct",
4528 "object": "collection",
4529 "arguments": {
4530 "session": "session0",
4531 "fieldName": "_id"
4532 },
4533 "result": {
4534 "errorLabelsContain": [
4535 "TransientTransactionError"
4536 ]
4537 }
4538 },
4539 {
4540 "name": "assertSessionUnpinned",
4541 "object": "testRunner",
4542 "arguments": {
4543 "session": "session0"
4544 }
4545 },
4546 {
4547 "name": "abortTransaction",
4548 "object": "session0"
4549 }
4550 ],
4551 "outcome": {
4552 "collection": {
4553 "data": [
4554 {
4555 "_id": 1
4556 },
4557 {
4558 "_id": 2
4559 }
4560 ]
4561 }
4562 }
4563 },
4564 {
4565 "description": "unpin after transient ShutdownInProgress error on distinct distinct",
4566 "useMultipleMongoses": true,
4567 "operations": [
4568 {
4569 "name": "startTransaction",
4570 "object": "session0"
4571 },
4572 {
4573 "name": "insertOne",
4574 "object": "collection",
4575 "arguments": {
4576 "session": "session0",
4577 "document": {
4578 "_id": 3
4579 }
4580 },
4581 "result": {
4582 "insertedId": 3
4583 }
4584 },
4585 {
4586 "name": "targetedFailPoint",
4587 "object": "testRunner",
4588 "arguments": {
4589 "session": "session0",
4590 "failPoint": {
4591 "configureFailPoint": "failCommand",
4592 "mode": {
4593 "times": 1
4594 },
4595 "data": {
4596 "failCommands": [
4597 "distinct"
4598 ],
4599 "errorCode": 91
4600 }
4601 }
4602 }
4603 },
4604 {
4605 "name": "distinct",
4606 "object": "collection",
4607 "arguments": {
4608 "session": "session0",
4609 "fieldName": "_id"
4610 },
4611 "result": {
4612 "errorLabelsContain": [
4613 "TransientTransactionError"
4614 ]
4615 }
4616 },
4617 {
4618 "name": "assertSessionUnpinned",
4619 "object": "testRunner",
4620 "arguments": {
4621 "session": "session0"
4622 }
4623 },
4624 {
4625 "name": "abortTransaction",
4626 "object": "session0"
4627 }
4628 ],
4629 "outcome": {
4630 "collection": {
4631 "data": [
4632 {
4633 "_id": 1
4634 },
4635 {
4636 "_id": 2
4637 }
4638 ]
4639 }
4640 }
4641 },
4642 {
4643 "description": "unpin after transient connection error on runCommand insert",
4644 "useMultipleMongoses": true,
4645 "operations": [
4646 {
4647 "name": "startTransaction",
4648 "object": "session0"
4649 },
4650 {
4651 "name": "insertOne",
4652 "object": "collection",
4653 "arguments": {
4654 "session": "session0",
4655 "document": {
4656 "_id": 3
4657 }
4658 },
4659 "result": {
4660 "insertedId": 3
4661 }
4662 },
4663 {
4664 "name": "targetedFailPoint",
4665 "object": "testRunner",
4666 "arguments": {
4667 "session": "session0",
4668 "failPoint": {
4669 "configureFailPoint": "failCommand",
4670 "mode": {
4671 "times": 1
4672 },
4673 "data": {
4674 "failCommands": [
4675 "insert"
4676 ],
4677 "closeConnection": true
4678 }
4679 }
4680 }
4681 },
4682 {
4683 "name": "runCommand",
4684 "object": "database",
4685 "command_name": "insert",
4686 "arguments": {
4687 "session": "session0",
4688 "command": {
4689 "insert": "test",
4690 "documents": [
4691 {
4692 "_id": 1
4693 }
4694 ]
4695 }
4696 },
4697 "result": {
4698 "errorLabelsContain": [
4699 "TransientTransactionError"
4700 ]
4701 }
4702 },
4703 {
4704 "name": "assertSessionUnpinned",
4705 "object": "testRunner",
4706 "arguments": {
4707 "session": "session0"
4708 }
4709 },
4710 {
4711 "name": "abortTransaction",
4712 "object": "session0"
4713 }
4714 ],
4715 "outcome": {
4716 "collection": {
4717 "data": [
4718 {
4719 "_id": 1
4720 },
4721 {
4722 "_id": 2
4723 }
4724 ]
4725 }
4726 }
4727 },
4728 {
4729 "description": "unpin after transient ShutdownInProgress error on runCommand insert",
4730 "useMultipleMongoses": true,
4731 "operations": [
4732 {
4733 "name": "startTransaction",
4734 "object": "session0"
4735 },
4736 {
4737 "name": "insertOne",
4738 "object": "collection",
4739 "arguments": {
4740 "session": "session0",
4741 "document": {
4742 "_id": 3
4743 }
4744 },
4745 "result": {
4746 "insertedId": 3
4747 }
4748 },
4749 {
4750 "name": "targetedFailPoint",
4751 "object": "testRunner",
4752 "arguments": {
4753 "session": "session0",
4754 "failPoint": {
4755 "configureFailPoint": "failCommand",
4756 "mode": {
4757 "times": 1
4758 },
4759 "data": {
4760 "failCommands": [
4761 "insert"
4762 ],
4763 "errorCode": 91
4764 }
4765 }
4766 }
4767 },
4768 {
4769 "name": "runCommand",
4770 "object": "database",
4771 "command_name": "insert",
4772 "arguments": {
4773 "session": "session0",
4774 "command": {
4775 "insert": "test",
4776 "documents": [
4777 {
4778 "_id": 1
4779 }
4780 ]
4781 }
4782 },
4783 "result": {
4784 "errorLabelsContain": [
4785 "TransientTransactionError"
4786 ]
4787 }
4788 },
4789 {
4790 "name": "assertSessionUnpinned",
4791 "object": "testRunner",
4792 "arguments": {
4793 "session": "session0"
4794 }
4795 },
4796 {
4797 "name": "abortTransaction",
4798 "object": "session0"
4799 }
4800 ],
4801 "outcome": {
4802 "collection": {
4803 "data": [
4804 {
4805 "_id": 1
4806 },
4807 {
4808 "_id": 2
4809 }
4810 ]
4811 }
4812 }
4813 }
4814 ]
4815 }