[SERVER-55473] DBClientBase::_auth should return the original status instead of AuthenticationFailed Created: 24/Mar/21 Updated: 29/Oct/23 Resolved: 22/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0-rc1, 5.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Wenbin Zhu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_non-cloud-blocking | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.9
|
||||||||||||
| Sprint: | Repl 2021-05-03 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently, this method converts all non-OK status to AuthenticationFailed and only returns the original status as the status reason. This is causing TenantMigrationRecipientService to fail to retry the aggregate command here on retryable errors. |
| Comments |
| Comment by Githook User [ 22/Apr/21 ] |
|
Author: {'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}Message: (cherry picked from commit a24b761247c996b87b514c513b69588f86a40f1a) |
| Comment by Githook User [ 22/Apr/21 ] |
|
Author: {'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}Message: |