Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42524

Remove the "touch" command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • None
    • Minor Change
    • Execution Team 2019-09-23, Execution Team 2019-10-07

    Description

      The "touch" command is supposed to pull all data into cache. Only MMAP supported "touch". See docs.

      The "inMemory" and "ephemeralForTest" storage engines do support the command, but they just return "OK" as a no-op. All other storage engines, including WiredTiger, return an error, so there's no need to deprecate the command first.

      The functionality of "touch" can be implemented by "warming up" the cache with collection and index scans.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: