[SERVER-21414] Add information to server status to tell if data is persisted to disk Created: 11/Nov/15  Updated: 22/Mar/17  Resolved: 29/Feb/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.2.0-rc2
Fix Version/s: 3.2.6, 3.3.3

Type: New Feature Priority: Major - P3
Reporter: Charlie Swanson Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-22866 KVEngine implementations should prope... Closed
is depended on by SERVER-22899 Remove 'requires_persistence' tag, re... Closed
Documented
is documented by DOCS-7303 Document storageEngine.isPersistent i... Closed
Related
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Integration F (02/01/16), Integration 10 (02/22/16), Integration 11 (03/14/16)
Participants:
Linked BF Score: 0

 Description   

Currently there is no way to tell if the data will be written to disk. The closest approximation is to use the storageEngine.name of the serverStatus results. We should add a storageEngine.persistent field with a boolean (or something similar) to be able to tell if it is ephemeral or not.



 Comments   
Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}

Message: SERVER-21414 serverStatus storageEngine.persistent

Under the server status statistics, "storageEngine.persistent" is either 0 or 1
to indicate if the storage engine persists data to disk.

(cherry picked from commit 76cc3b37b1912c35c80084b859efcdc93b104637)
Branch: v3.2
https://github.com/mongodb/mongo/commit/07981debd3335d53909e169baad92240916baf53

Comment by Kyle Suarez [ 01/Mar/16 ]

Note: this ticket represents a change to the Storage Engine API, since it forces engines to implement the StorageEngine::isEphemeral() function.

Comment by Githook User [ 29/Feb/16 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}

Message: SERVER-21414 serverStatus storageEngine.persistent

Under the server status statistics, "storageEngine.persistent" is either 0 or 1
to indicate if the storage engine persists data to disk.
Branch: master
https://github.com/mongodb/mongo/commit/76cc3b37b1912c35c80084b859efcdc93b104637

Generated at Thu Feb 08 03:57:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.