[SERVER-9005] metric.getLastError.wtime should only count for w>1 GLE calls Created: 17/Mar/13  Updated: 11/Jul/16  Resolved: 28/Jun/13

Status: Closed
Project: Core Server
Component/s: Admin, Diagnostics
Affects Version/s: 2.4.0-rc3
Fix Version/s: 2.5.1

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Daniel Pasette (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-10775 get_last_error.js failing on multiple... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

> db.serverStatus().metrics.getLastError.wtime.num
54
> db.getLastErrorObj(1, 2);db.serverStatus().metrics.getLastError.wtime.num
55
> db.getLastErrorObj(-11, 2);db.serverStatus().metrics.getLastError.wtime.num
56
> db.getLastErrorObj(0, 2);db.serverStatus().metrics.getLastError.wtime.num
56



 Comments   
Comment by auto [ 28/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 Up the timeout further to allow primary to be notified
Branch: master
https://github.com/mongodb/mongo/commit/1a16d0505886c1fe50f43014d82b3e1c9dd8b7ca

Comment by auto [ 26/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 synchronizing replication to fix racy test
Branch: master
https://github.com/mongodb/mongo/commit/bd0713e9a67f67b19944841275007f6fc6ee1c69

Comment by auto [ 26/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 increasing timeout to account for slow replication
Branch: master
https://github.com/mongodb/mongo/commit/e14606de365ef11a49ba5c0cf63f5418eee8ad55

Comment by auto [ 26/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 change test to not depend on replication speed
Branch: master
https://github.com/mongodb/mongo/commit/c82f38b68a3c14aa9cabe06b3e527a334ebcd101

Comment by auto [ 26/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 fix get_last_error.js for debug builds
Branch: master
https://github.com/mongodb/mongo/commit/c63814f9a762c52b884271fded969cc2303ed13c

Comment by auto [ 25/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 - swap temp TimerStats for NULL
Branch: master
https://github.com/mongodb/mongo/commit/c2e3f288b5e61806b00ea6ec93a055363b9faeec

Comment by auto [ 24/Jun/13 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-9005 - Only record wtime metrics when w>1
Branch: master
https://github.com/mongodb/mongo/commit/82674f15106984028627c9ecba18f84b55cd6dea

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