[SERVER-84264] Make DBClientBase for the shell never uassert StaleConfig internally Created: 17/Dec/23 Updated: 20/Dec/23 Resolved: 20/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Cluster Scalability 2023-12-25 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
DBClientBase created by the shell should not throw on a StaleConfig error since the shell cannot handle this error and for transactions throwing this error from inside DBClientBase makes the error lose the TransientTransactionError label, which would mislead the external client (e.g. auto_retry_transactions.js) to not retry the transaction when it should. |
| Comments |
| Comment by Githook User [ 19/Dec/23 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: GitOrigin-RevId: 66e350dedaf3e6da743cd2d0de080f400b57277e |