Commit 233a70d
committed
adapter: Messaging for disabling autocommit
Return a more informative error message when a client disables
autocommit. This CL changes the logging to only log when disabling
automcommit.
This CL also makes `Backend::handle_set()` more explicit with respect
to the different `UnsupportedSetMode` states.
Fixes: REA-4860
Fixes: #1384
Release-Note-Core: Better messaging when clients disable autocommit.
Change-Id: Id8def5cfd6d718178746c5599eaa469f872fbe37
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/8086
Reviewed-by: Johnathan Davis <jcd@readyset.io>
Tested-by: Buildkite CI1 parent 1910dc5 commit 233a70d
2 files changed
+34
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2709 | 2709 | | |
2710 | 2710 | | |
2711 | 2711 | | |
2712 | | - | |
2713 | | - | |
2714 | | - | |
2715 | | - | |
2716 | | - | |
2717 | | - | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
2718 | 2721 | | |
2719 | | - | |
2720 | | - | |
2721 | | - | |
2722 | | - | |
2723 | | - | |
2724 | | - | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
2725 | 2733 | | |
2726 | | - | |
2727 | 2734 | | |
2728 | 2735 | | |
2729 | | - | |
| 2736 | + | |
2730 | 2737 | | |
2731 | | - | |
| 2738 | + | |
| 2739 | + | |
2732 | 2740 | | |
2733 | 2741 | | |
2734 | 2742 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
103 | 114 | | |
104 | 115 | | |
105 | 116 | | |
| |||
0 commit comments