[SERVER-77727] Remove the unused toString and toBSON functions of CollectionBulkLoader Created: 01/Jun/23 Updated: 29/Oct/23 Resolved: 08/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Sophia Tan | Assignee: | Sophia Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Serverless
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2023-06-12 | ||||||||
| Participants: | |||||||||
| Story Points: | 1 | ||||||||
| Description |
|
The toString and toBSON functions of CollectionBulkLoader are not used by any other codes. Its subclass overrides these two functions in which serialize nss to string. It's impossible to get to know how to correctly serialize the nss in multitenancy environment as we enforce the caller to pass in serialization context or call `toStringFor*()` to indicate the target. We'd better to remove these two functions from the code base. It will be help us to keep the code clean and easy to be maintained.
|
| Comments |
| Comment by Githook User [ 08/Jun/23 ] |
|
Author: {'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}Message: |