[SERVER-52933] Add timestamp to the DatabaseVersion IDL Created: 18/Nov/20  Updated: 29/Oct/23  Resolved: 26/Nov/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0-Metadata-Format
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-52587 Making collection and database instan... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-11-30
Participants:

 Description   

The goal of this ticket is to add a timestamp to DatabaseVersion IDL. In order to do that we will:

  1. Rename the class defined in the DatabaseVersion IDL to DatabaseVersionBase.
  2. Create a new DatabaseVersion class that works as a facade of DatabaseVersionBase.
    1. This new class will inherit from DatabaseVersionBase.
    2. We will try to avoid exposing its constructors. Instead of that, we will offer a factory that will hide the epochs/timestamps. We should be avaible to construct it from a BSON and probably default construct them.
  3. We can get rid of database_version_helpers.h/database_version_helpers.cpp.


 Comments   
Comment by Githook User [ 26/Nov/20 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-52933 Add timestamp to the DatabaseVersion IDL

PART-2:

Comment by Githook User [ 24/Nov/20 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-52933 Add timestamp to the DatabaseVersion IDL

PART 1

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