-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: 5.0.29, 8.0.5, 7.0.17, 6.0.21
-
Component/s: None
-
None
-
ALL
MongoDB parameter naming conventions generally follow the camelCase style for many parameters. For example:
wiredTiger: engineConfig: cacheSizeGB: 1 checkpointSizeMB: 1000 statisticsLogDelaySecs: 0 journalCompressor: snappy
However, some sharding-related parameters deviate from this pattern by using PascalCase instead, such as:
ShardingTaskExecutorPoolMinSize: 10 ShardingTaskExecutorPoolMaxSize: 10
Further adding to the inconsistency, not all sharding parameters adhere to this standard. For example:
taskExecutorPoolSize: 1
Reference: MongoDB Documentation - Parameters
Since MongoDB is case-sensitive, this lack of uniformity can lead to confusion, potential implementation errors, and reduced readability. A consistent naming convention would enhance clarity and usability.