[SERVER-62923] Change DB lock RAII types to use DatabaseName Created: 24/Jan/22 Updated: 29/Oct/23 Resolved: 20/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| 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: | Server Serverless 2022-07-11, Server Serverless 2022-07-25 | ||||||||
| Participants: | |||||||||
| Description |
|
Change AutoGetDB, AutoGetDbForReadLockFree, and AutoGetDbForReadMaybeLockFree to take in and use DatabaseName. Change these functions to pass the DatabaseName to the DBLock and DBHolder. AutoGetDb is unit tested by the CatalogRAIITestFixture, and we should add/change tests there. |
| Comments |
| Comment by Githook User [ 15/Jul/22 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |