[SERVER-67937] StorageEngineMetadata::read: misleading error message Created: 11/Jul/22  Updated: 29/Oct/23  Resolved: 22/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Konstantin Trushin Assignee: Matt Kneiser
Resolution: Fixed Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-10-03
Participants:

 Description   

If the storage.options field in storage.bson file is not an object, the StorageEngineMetadata::read returns status with reason which tells that the field is "not a string".



 Comments   
Comment by Githook User [ 16/Sep/22 ]

Author:

{'name': 'Konstantin Trushin', 'email': 'konstantin.trushin@percona.com', 'username': 'ktrushin'}

Message: SERVER-67937: StorageEngineMetadata::read: fix the error message

Closes https://github.com/mongodb/mongo/pull/1475

Signed-off-by: Matt Kneiser <matt.kneiser@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/cd6f639ff875113cdee3d8495f33a0bc542e11e0

Comment by Konstantin Trushin [ 11/Jul/22 ]

The PR should fix the issue.

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