[SERVER-72951] Date_t violates server naming conventions Created: 17/Jan/23  Updated: 24/Jan/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Matt Kneiser Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 Description   

According to the server style guidelines,

Use camelCase for most varNames. Use ProperCase for names of classes and structs. Use camelCase for instances of such classes.

 

However, at least three other classes exist with the name Date.

src/mongo/db/exec/document_value/document_value_test.cpp:1155:class Date {
src/mongo/db/pipeline/expression_test.cpp:441:class Date : public SingleOperandBase {
src/mongo/db/query/datetime/date_time_support.cpp:642:struct Date { 

These entities should be unified under clear new names.


Generated at Thu Feb 08 06:23:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.