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

Remove the "touch" command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Minor Change
    • Execution Team 2019-09-23, Execution Team 2019-10-07

      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.

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

              Created:
              Updated:
              Resolved: