[DOCS-11903] Docs for SERVER-33844: Change Streams - provide details for metadata operations instead of (or in addition to) invalidation Created: 23/Jul/18  Updated: 13/Nov/23  Resolved: 18/Oct/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.1, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-33844 Change Streams - provide details for ... Closed
Duplicate
duplicates DOCS-11806 Docs for SERVER-35028: Add change str... Closed
duplicates DOCS-11829 Docs for SERVER-35029: Add change str... Closed
Participants:
Days since reply: 5 years, 29 weeks, 2 days ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

----------------------------

Original Description

Description:

Marking this as docs needed, however it would be easier to address each ticket in the epic.

Engineering Ticket Description:

When watching a database or entire cluster, provide notification of metadata events like collection drops and renames rather than invalidating the stream. In case of watching a single collection, use the same format to provide details about invalidation (whether it was caused by collection drop, db drop, collection rename, etc).

Original Description:

Change streams report the namespace for operations such as inserts, updates and deletes. The namespace information would be useful in case of the invalidate event.

Here is an example where the namespace would be extremely helpful:

mdbsrv-01
db1.coll1
db1.coll2
db1.coll3

Application thread-1 opens a change stream on db1.coll1 and thread-2 opens a change stream on db1.coll3. Everything captured from these collections will be send to mdbsrv-02, db2.do_it_now.

If db1.coll1 gets dropped, the invalidate event is triggered and a invalidate document is inserted into mdbsrv-02, db2.do_it_now. The invalidate document only contains the _id and operationType: "invalidate".

By looking into db2.do_it_now, how do I know which collection has inserted the invalidate document into the collection?

----------------------------

Description

Scope of changes (files that need work and how much)

Impact to other docs outside of this product

MVP (work and date?)

Resources (e.g. Scope Docs, Invision)


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