[SERVER-10325] Support systemFlags and userFlags in collStats (mongos) Created: 25/Jul/13  Updated: 10/Nov/15  Resolved: 01/Apr/14

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.4.7, 2.5.1
Fix Version/s: 2.6.0-rc3

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

Backwards Compatibility: Fully Compatible
Participants:

 Description   

I have a cluster with three mongod instances,three config servers,and one mongos.
Something appears in the mongos log like this:

Thu Jul 25 10:01:39.607 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:39.607 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:39.607 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:39.607 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:40.422 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:40.422 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:40.423 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:40.423 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:41.106 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:41.107 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:41.107 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:41.107 [conn103] warning: mongos collstats doesn't know about: userFlags
Thu Jul 25 10:01:41.698 [conn103] warning: mongos collstats doesn't know about: systemFlags
Thu Jul 25 10:01:41.699 [conn103] warning: mongos collstats doesn't know about: userFlags

I don't known what happens ,someone gives me an idea? Thanks for your attention!



 Comments   
Comment by Githook User [ 01/Apr/14 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10325: support system and user flags for mongos collstats

(cherry picked from commit cfd144275d53cbca46de3280fdb50a9f10a733af)
Branch: v2.6
https://github.com/mongodb/mongo/commit/1d338b82d6942c5caf694941dd895da9ef59f019

Comment by Githook User [ 01/Apr/14 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10325: support system and user flags for mongos collstats
Branch: master
https://github.com/mongodb/mongo/commit/cfd144275d53cbca46de3280fdb50a9f10a733af

Comment by Randolph Tan [ 03/Aug/13 ]

The format output of the collstat command changed from displaying "flags" into 2 separate fields - "systemFlags" and "userFlags". However, the code in mongos was not updated to handle this.

The side effect is that these fields will not be displayed on the top level output of the sharded collStats command (and mongos will also print out the reported warning).

Comment by huangxing [ 31/Jul/13 ]

All of them is 2.4.4.

Comment by Daniel Pasette (Inactive) [ 25/Jul/13 ]

What version is your mongos running? This should indicate that the mongos is an old version.

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