Commit d95cab5
authored
feat(spanner): add support for change streams transaction exclusion option (#2049)
Add support for excluding transactions from being recorded in the change streams by passing a new boolean option ExcludeTxnFromChangeStreams in the various write APIs:
`runTransaction`
`getTransaction`
`runPartitionedUpdate`
`_mutate`
Note: Samples will be added later in separate prs.1 parent 628f4b0 commit d95cab5
File tree
6 files changed
+343
-13
lines changed- src
- test
6 files changed
+343
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
2092 | 2096 | | |
2093 | 2097 | | |
2094 | 2098 | | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
2095 | 2102 | | |
2096 | 2103 | | |
2097 | 2104 | | |
| |||
2711 | 2718 | | |
2712 | 2719 | | |
2713 | 2720 | | |
2714 | | - | |
2715 | 2721 | | |
2716 | | - | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
2717 | 2726 | | |
2718 | 2727 | | |
2719 | 2728 | | |
2720 | | - | |
| 2729 | + | |
2721 | 2730 | | |
2722 | 2731 | | |
2723 | 2732 | | |
| |||
2732 | 2741 | | |
2733 | 2742 | | |
2734 | 2743 | | |
2735 | | - | |
| 2744 | + | |
2736 | 2745 | | |
2737 | 2746 | | |
2738 | 2747 | | |
2739 | 2748 | | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
2740 | 2752 | | |
2741 | 2753 | | |
2742 | 2754 | | |
| |||
3059 | 3071 | | |
3060 | 3072 | | |
3061 | 3073 | | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
3062 | 3077 | | |
3063 | 3078 | | |
3064 | 3079 | | |
| |||
3173 | 3188 | | |
3174 | 3189 | | |
3175 | 3190 | | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
3176 | 3194 | | |
3177 | 3195 | | |
3178 | 3196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
1073 | 1074 | | |
1074 | 1075 | | |
1075 | 1076 | | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | 1077 | | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1085 | 1098 | | |
1086 | 1099 | | |
1087 | 1100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2470 | 2470 | | |
2471 | 2471 | | |
2472 | 2472 | | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
2473 | 2485 | | |
2474 | 2486 | | |
2475 | 2487 | | |
| |||
2503 | 2515 | | |
2504 | 2516 | | |
2505 | 2517 | | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
2506 | 2529 | | |
2507 | 2530 | | |
2508 | 2531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2544 | 2544 | | |
2545 | 2545 | | |
2546 | 2546 | | |
2547 | | - | |
| 2547 | + | |
| 2548 | + | |
2548 | 2549 | | |
2549 | 2550 | | |
2550 | 2551 | | |
| |||
2581 | 2582 | | |
2582 | 2583 | | |
2583 | 2584 | | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
2584 | 2603 | | |
2585 | 2604 | | |
2586 | 2605 | | |
| |||
0 commit comments