[SERVER-21512] Collection::insertDocuments should handle capped collections directly Created: 17/Nov/15  Updated: 05/Dec/23  Resolved: 04/Dec/23

Status: Closed
Project: Core Server
Component/s: Internal Code, Storage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-83873 Complete TODO listed in SERVER-21512 Open
is related to SERVER-16049 Replicate capped collection deletes e... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

The solution to SERVER-21488 will have Collection::insertDocuments return an error when an attempt is made to insert multiple documents into an indexed capped collection. The caller is then responsible for retrying with single inserts. It would be better if Collection::insertDocuments just handled single inserts by itself. This requires changing WTRecordStore's capped implementation to support deleting records from the current WUOW.



 Comments   
Comment by Steven Vannelli [ 04/Dec/23 ]

Closing this out since we're not making any changes to capped collections at the moment. Some things may change with replicated record IDs.

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