[SERVER-2285] count() (maybe other operations?) executes successfully when slaves are in RECOVERING mode Created: 24/Dec/10  Updated: 12/Jul/16  Resolved: 22/Dec/11

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Bug Priority: Major - P3
Reporter: Antoine Girbal Assignee: Brandon Diamond
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

seen when adding a test for replset.
If you look at groupAndMapReduce.js, it syncs the slaves then does count() and group().
I had to add a 10s sleep time otherwise the group() would fail, because slaves where still in recovering mode.
But count() was always successful.
We should also check other operations.



 Comments   
Comment by auto [ 22/Dec/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-2285: reapply earlier change after testing
Branch: master
https://github.com/mongodb/mongo/commit/83c101d111731322c0264ed96b28f49381a849bd

Comment by auto [ 20/Dec/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-2285: added additional maintenance tests
Branch: master
https://github.com/mongodb/mongo/commit/c7a0a5d056c70bfa24e101d3e7482ebf526a205d

Comment by auto [ 20/Dec/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-2285: prevent some commands (count) from running in maintenance mode
Branch: master
https://github.com/mongodb/mongo/commit/f3943569e09993659a82969e72cdac011c10cc64

Comment by auto [ 20/Dec/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-2285: added support for maintenance-aware commands
Branch: master
https://github.com/mongodb/mongo/commit/153c217d8e0c8d6e04184dbb9a1e1910113633bc

Generated at Thu Feb 08 02:59:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.