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

Remove support for touch command for RocksDB

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc4
    • Fix Version/s: 3.0.0-rc6
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Minor Change

      Description

      We have removed support for the touch command for wiredTiger because the result of the touch command (data:

      {numRanges:.., millis:}

      ) is very mmapv1 specific. 'numRanges' corresponds to the number of extents touched into memory for a particular collection.

      Since the concept of extents also doesn't exist in RocksDB, the result of the touch command doesn't really make sense. Furthermore, the current implementation of touch within RocksDB just forces all data to go through the block cache once by literally using a RocksDB iterator to read in all the data for a column family (the corresponding one for a collection). This is equivalent to doing a collection scan.

      I've discussed this with Matt, Igor, and Siying.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daniel.alabi@10gen.com Daniel Alabi
              Reporter:
              daniel.alabi@10gen.com Daniel Alabi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: