Implement FreeMonStorage Standalone and IDL for storage

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Platforms 2018-04-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implement/**

      • Storage tier for Free Monitoring. Provides access to storage engine.
        */
        class FreeMonStorage { public: /** * Reads document from disk if it exists. */ static boost::optional<FreeMonStorageState> read(OperationContext* opCtx); /** * Replaces document on disk with contents of document. Creates document if it does not exist. */ static bool replace(OperationContext* opCtx, const FreeMonStorageState& doc); /** * Deletes document on disk if it exists. */ static bool deleteState(OperationContext* opCtx); /** * Reads first document from local.clustermanager. */ static boost::optional<BSONObj> readClusterManagerState(OperationContext* opCtx); }

        ;

              Assignee:
              Mark Benvenuto
              Reporter:
              Gregory McKeon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: