[SERVER-56686] Don't return tenant migration details to users in errors Created: 05/May/21  Updated: 29/Oct/23  Resolved: 06/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.9
Sprint: Sharding 2021-05-17
Participants:

 Description   

If an operation times out or is canceled waiting for a tenant migration to finish, the error it returns includes the recipient connection string and the user's tenant id. These operations will not be retried by the proxy, so they'll be returned to the user. Tenant migrations are supposed to be transparent to users, so we shouldn't return these details to them.



 Comments   
Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-56686 Don't return tenant migration details to users in errors

(cherry picked from commit 2cd5c5110d837a2de0dd197f805531b5b409f2a2)
Branch: v4.9
https://github.com/mongodb/mongo/commit/85eccbb8c3ed963c0caddbc8fdb33ce24c06a175

Comment by Githook User [ 06/May/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-56686 Don't return tenant migration details to users in errors
Branch: master
https://github.com/mongodb/mongo/commit/2cd5c5110d837a2de0dd197f805531b5b409f2a2

Generated at Thu Feb 08 05:39:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.