[SERVER-8769] ServerStatus().opcounters.inserts not incremented on mongos Created: 27/Feb/13  Updated: 11/Jul/16  Resolved: 04/Mar/13

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 2.4.0-rc2

Type: Bug Priority: Critical - P2
Reporter: Mathias Stearn Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

Set up a sharded cluster and insert data. Run db.serverStatus() and look at opcounters. Run mongostat.

Participants:

 Description   

This breaks mongostat and mms by showing 0 ops/sec.



 Comments   
Comment by auto [ 04/Mar/13 ]

Author:

{u'date': u'2013-03-04T18:59:04Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8769 skip opcounters.js when running small_oplog tests
Branch: master
https://github.com/mongodb/mongo/commit/4cfc0636c0768a5590c0e961e88f4976c63fe490

Comment by Eric Milkie [ 04/Mar/13 ]

This broke small oplog as well
http://buildlogs.mongodb.org/Nightly%20Linux%20RHEL%2064-bit/builds/435/test/small%20oplog/opcounters.js

Comment by auto [ 02/Mar/13 ]

Author:

{u'date': u'2013-03-02T13:37:59Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8769 Put opcounters.js on skip list for ParallelTester

Test assumes that counters are not being changed by other threads during run.
Branch: master
https://github.com/mongodb/mongo/commit/11188a46354c7a46761fdcb3e2cdb4bc589f03e8

Comment by auto [ 01/Mar/13 ]

Author:

{u'date': u'2013-02-28T00:49:28Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8769 Track inserts on mongos for serverStatus().opcounters
Branch: master
https://github.com/mongodb/mongo/commit/e3eb91bedca694eda23c911ab860d803bf042bc0

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