[SERVER-16797] Remove support for touch command for WiredTiger Created: 09/Jan/15  Updated: 17/May/19  Resolved: 15/Jan/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.8.0-rc4
Fix Version/s: 3.0.0-rc6

Type: Bug Priority: Major - P3
Reporter: Daniel Alabi Assignee: Daniel Alabi
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-4676 Document that WT doesn't support touch Closed
Related
is related to SERVER-16114 The touch command does not work with ... Closed
is related to SERVER-16850 Remove support for touch command for ... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 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
}



 Comments   
Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'alabid', u'name': u'alabid', u'email': u'alabidan@gmail.com'}

Message: SERVER-16797 Remove support for touch command in WiredTiger storage engine.

Closes #906

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/9c0417f6680b591cb89d0de55a8a42ab179698fd

Generated at Thu Feb 08 03:42:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.