-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: 1.5.3
-
Component/s: Admin
-
None
-
Major Change
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
The fsync command and the getlasterror (with fsync option) command return different fields representing the sync'd file count. These should be made consistent.
> db.runCommand(
{getlasterror:1, fsync:true})
{ "err" : null, "n" : 0, "fsyncFiles" : 1, "ok" : true }> db.runCommand(
{fsync:true})
{ "numFiles" : 2, "ok" : true }Also, the fsync command is admin only, while GLE isn't (but should be with fsync opt?). Is this a possible (DOS) problem?