[SERVER-37524] In-Memory Storage Engine With Storage Watchdog Crashes The Server Created: 09/Oct/18  Updated: 29/Oct/23  Resolved: 02/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 4.0.2
Fix Version/s: 3.6.10, 4.0.5, 4.1.5

Type: Bug Priority: Major - P3
Reporter: Joshua Matthews (Inactive) Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File Vagrantfile     File mongod.conf    
Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Steps To Reproduce:

Please see either the attached mongod config file or Vagrantfile. If using the Vagrantfile, you should be able to cd into /home/vagrant/mongo and run 'mongod -f mongo.conf'.

Sprint: Security 2018-11-05
Participants:

 Description   

Starting a mongod server with the storage engine set to inMemory and the storage node watchdog enabled will cause the server to crash when the watchdog check runs. This seems to be because the watchdog unconditionally tries to check the journal directory, which does not exist when using inMemory.

CC mark.benvenuto



 Comments   
Comment by Githook User [ 21/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog

(cherry picked from commit 89deb1cb71f0359828e0d07e426b70c46ed715ff)
Branch: v3.6
https://github.com/mongodb/mongo/commit/46dfed87ba88a2c62573d63043c6ceb64d1bde57

Comment by Githook User [ 21/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog

(cherry picked from commit 6a8b2d56d4dc4dccf43310b7b6630aee9eca4e7a)
Branch: v3.6
https://github.com/10gen/mongo-enterprise-modules/commit/56aff24cbd616b91d301c90c8cf6348830855ab1

Comment by Githook User [ 09/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog

(cherry picked from commit 89deb1cb71f0359828e0d07e426b70c46ed715ff)
Branch: v4.0
https://github.com/mongodb/mongo/commit/4030015bee5d3ed1d95458d55c7e46756141596f

Comment by Githook User [ 09/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog

(cherry picked from commit 6a8b2d56d4dc4dccf43310b7b6630aee9eca4e7a)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/3d0212ff43ae380abc437972cc47d9371aaf7e90

Comment by Joshua Matthews (Inactive) [ 05/Nov/18 ]

Yes, we would need this backported to 3.6 as well.

Comment by Mark Benvenuto [ 05/Nov/18 ]

joshua.matthews I am planning to backport this to 4.0. Do you need this in 3.6?

Comment by Githook User [ 02/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog
Branch: master
https://github.com/mongodb/mongo/commit/89deb1cb71f0359828e0d07e426b70c46ed715ff

Comment by Githook User [ 02/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37524 Support In-Memory Storage Engine with Watchdog
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/6a8b2d56d4dc4dccf43310b7b6630aee9eca4e7a

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