Commit 7c839ff
committed
NCBC-4068: Recent failures in txns
Motivation
==========
Transactions regressions need a quick look
Motification
============
Recently, the new (in 8.0) SubdocAccessDeleted flag was supported.
This means we can access deleted documents using replica reads. But
this was a bit mixed with the ordinary 'CreateAsDeleted' capability
that we have always used for transactions to create tombstone docs
when inserting and so on. What we need to do is only set the
AccessDeleted flag to true on replica reads if the server supports
it. Small change to do so.
Also renamed it SubdocAccessDeleted for some disambiguation.
Results
=======
Transactions fails now gone.
Change-Id: Ie407fd6ac78da602a5b870b59a46bab4b29ca33b
Reviewed-on: https://review.couchbase.org/c/couchbase-net-client/+/234627
Reviewed-by: Michael Reiche <michael.reiche@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>1 parent 4b19ef5 commit 7c839ff
5 files changed
Lines changed: 18 additions & 13 deletions
File tree
- src/Couchbase
- KeyValue
- Stellar/KeyValue
- tests
- Couchbase.Transactions.Tests.UnitTests/Mocks
- Couchbase.UnitTests/Core/Diagnostics/Tracing/Fakes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
957 | 965 | | |
958 | 966 | | |
959 | 967 | | |
960 | 968 | | |
961 | 969 | | |
962 | 970 | | |
963 | 971 | | |
964 | | - | |
| 972 | + | |
965 | 973 | | |
966 | 974 | | |
967 | 975 | | |
| |||
1021 | 1029 | | |
1022 | 1030 | | |
1023 | 1031 | | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
| 1032 | + | |
1028 | 1033 | | |
1029 | 1034 | | |
1030 | 1035 | | |
| |||
1045 | 1050 | | |
1046 | 1051 | | |
1047 | 1052 | | |
1048 | | - | |
| 1053 | + | |
1049 | 1054 | | |
1050 | 1055 | | |
1051 | 1056 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments