[SERVER-55769] Improve the recordPreImages incompatibility on startup error message Created: 02/Apr/21  Updated: 29/Oct/23  Resolved: 06/Sep/21

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

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Josef Ahmad
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-09-06, Execution Team 2021-09-20
Participants:

 Description   

This error is coming from here and can be hit during startup when we initialize a Collection instance.

{"t":\{"$date":"2021-03-23T21:50:03.402+00:00"}

,"s":"E", "c":"STORAGE", "id":20557, "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"InvalidOptions: recordPreImages collection option is not supported on shards or config servers"}}

 It'd be nice if the error message included the namespace string, so the user can identify what to modify, and then add a suggestion to restart as a non-shard and use collmod to remove the setting (I think it's unsettable? Maybe double check...).



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 06/Sep/21 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-55769 Improve the recordPreImages incompatibility on startup error message
Branch: master
https://github.com/mongodb/mongo/commit/c291dfc7a6e9291cf241f0a253aa453f083d6f3c

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