[SERVER-18184] Add awaitData support to getMore command Created: 22/Apr/15  Updated: 05/May/23  Resolved: 21/May/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.1.4

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-9580 Multiple tailable cursors against the... Closed
is duplicated by SERVER-15815 maxTimeMS on initial tailable cursor ... Closed
is duplicated by SERVER-18332 Command form of getMore should suppor... Closed
Related
related to SERVER-10226 Excessive CPU usage for idle tailable... Closed
related to SERVER-18841 Make awaitData cursors block rather t... Closed
related to SERVER-76877 clean up awaitdata_getmore_cmd.js Closed
Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 3, Quint Iteration 4
Participants:
Case:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 08/Jun/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-18184 change oplog's newOptimeNotifier boost::condition back to using timed_wait
Branch: master
https://github.com/mongodb/mongo/commit/354bc48261b0facdf12a588d9b585d8f88ee4e07

Comment by Githook User [ 21/May/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-18184 add awaitData support to the getMore command for any capped collection

Previously awaitData for find/getMore commands was only allowed for the oplog.
Branch: master
https://github.com/mongodb/mongo/commit/6351419085ce95145bbb75c3ef98ca608dbb25c9

Comment by Jose Battig [ 21/May/15 ]

Awesome... I was just double checking.

Comment by David Storch [ 21/May/15 ]

jsbattig@convey.com, yes we are adding awaitData support for any capped collection. This work is in progress under this ticket and scheduled to be fixed for development release 3.1.4.

Comment by Jose Battig [ 21/May/15 ]

Are you finally then adding support for awaitData for any capped collection or not?
I see the comment and it suggest this is only for oplog.
I recently closed a Pull Request referenced in SERVER-9580 that solves the problem generically for any capped collection. We are running on a custom build of mongodb because of this issue.

Comment by Githook User [ 19/May/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-18184 add awaitData support to the getMore command (oplog only)

Adding awaitData support to the getMore command for any capped collection will be further work.
Branch: master
https://github.com/mongodb/mongo/commit/568d5f846a5bb759c1fa019e55f1a20a6a4fe468

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