This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Commit 1610d6a
Baha Shaaban
[FAB-12464] fix additional z build errors
Avoid error check in testQuery() to force a retry query
in case the peers don't have the latest key values in
the ledger. This happens in z builds as it processes
testQuery() before ResetKeys() results are propagated
to all the peers.
Apparently x86 build propagates the key values to all
peers before subsequent tests query/update them.
This is why x86 build never complain about these issues.
Also added MVCC_READ_CONFLICT code to the test retryable
codes to ensure withRetry() do retry invoking the CCs on
this error.
Change-Id: Id8f487cf926da5c225ce3e36ce48261c89a560a5
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>1 parent 6a3c34e commit 1610d6a
File tree
5 files changed
+20
-22
lines changed- pkg/common/errors/retry
- test/integration
- pkg
- client/channel
- fabsdk/provider
5 files changed
+20
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | | - | |
455 | | - | |
| 453 | + | |
456 | 454 | | |
457 | 455 | | |
458 | | - | |
| 456 | + | |
459 | 457 | | |
460 | 458 | | |
461 | 459 | | |
462 | 460 | | |
463 | 461 | | |
464 | 462 | | |
465 | | - | |
466 | | - | |
467 | | - | |
| 463 | + | |
468 | 464 | | |
469 | 465 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
339 | 343 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
343 | 350 | | |
344 | 351 | | |
345 | | - | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 72 | + | |
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
| |||
0 commit comments