[SERVER-32607] Implement a DatabaseVersion class and add it to the DatabaseType Created: 09/Jan/18 Updated: 30/Oct/23 Resolved: 29/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Kaitlin Mahar |
| 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: | Sharding 2018-01-29, Sharding 2018-02-12 | ||||||||
| Participants: | |||||||||
| Description |
|
Should ideally be implemented using IDL for parsing and serialization. For the value-add functionality such as incrementing the version, it is alright to create a class which inherits the generated IDL parser class. The DatabaseVersion should have 2 fields:
The DatabaseVersion class should be made to accept the UUID and version as part of the constructor and should only expose an increment method. This ticket should also include work to assign the DatabaseVersion whenever a new DatabaseType entry is created. |
| Comments |
| Comment by Githook User [ 29/Jan/18 ] |
|
Author: {'email': 'kaitlin.mahar@mongodb.com', 'name': 'Kaitlin Mahar', 'username': 'kmahar'}Message: |