[DOCS-10668] Docs for SERVER-29140: Return 'invalidate' entries and close the cursor on relevant drop, dropDatabase, and renameCollection oplog entries Created: 10/Aug/17  Updated: 29/Oct/23  Resolved: 01/Dec/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Nicholas Larew
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29140 Return 'invalidate' entries and close... Closed
Participants:
Days since reply: 6 years, 10 weeks, 3 days ago
Epic Link: DOCS: 3.6 Server

 Description   

Documentation Request Summary:

Closing cursor behavior is documented in "Collection drop/rename behavior" section of the design doc.

Engineering Ticket Description:

If someone was trying to use changeNotifications to keep a cache in sync with changes to a mongodb collection or database, certain operations would cause that cache to need to be invalidated, namely drop, dropDatabase, and renameCollection operations that affect the collection or database that notifications are being received on. When a change notification feed encounters one of those operations it should return an 'invalidate' entry and close the change notification cursor



 Comments   
Comment by Githook User [ 04/Dec/17 ]

Author:

{'username': 'nlarew', 'email': 'nick.larew@10gen.com', 'name': 'Nick Larew'}

Message: DOCS-10668: Change stream invalidate events
Branch: master
https://github.com/mongodb/docs/commit/33462bf55db2b43a1a95a809ce6796c5e9f0f118

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