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

Remove support for touch command for WiredTiger

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.8.0-rc4
    • 3.0.0-rc6
    • Storage
    • Minor Change
    • ALL

    Description

      // assuming a collection 'foo' exists
      db.runCommand({touch: 'foo', data: true})
      

      returns

      { "data" : { "numRanges" : 1, "millis" : 0 }, "ok" : 1 }
      

      but should return

      {
      	"ok" : 0,
      	"errmsg" : "this storage engine does not support touch",
      	"code" : 115
      }
      

      Attachments

        Issue Links

          Activity

            People

              daniel.alabi@10gen.com Daniel Alabi
              daniel.alabi@10gen.com Daniel Alabi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: