[SERVER-32983] persist a version field in new config.databases entries in fcv>=4.0 Created: 29/Jan/18 Updated: 29/Oct/23 Resolved: 06/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.7.1 |
| Fix Version/s: | 3.7.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Esha Maharishi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2018-02-12 |
| Participants: |
| Description |
|
When a new database is created in a cluster, the config server writes an entry for it to config.databases through ConfigSvrCreateDatabaseCommand -> ShardingCatalogManager::createDatabase(). If the config server is in fcv>=4.0, it should generate a databaseVersion for the new database and include it in the config.databases entry. |
| Comments |
| Comment by Githook User [ 06/Feb/18 ] |
|
Author: {'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}Message: Revert "Revert " This reverts commit d7c127cb2c98eab7ca9ea0ef8405126e675ed5d7. |
| Comment by Githook User [ 06/Feb/18 ] |
|
Author: {'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}Message: Revert " This reverts commit e747312da666720700f4207a81a927c1b93c36dc. |
| Comment by Githook User [ 05/Feb/18 ] |
|
Author: {'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}Message: |