[SERVER-32165] Make applyOps command extract entries via IDL Created: 04/Dec/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication, Storage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Spencer Jackson Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

Oplog entries are very strongly structured. The applyOps command inspects them to ensure they are well formed, and to perform authorization checks. They are a good candidate for IDLification. An IDL generated parser would more efficiently extract all the relevant fields, without having to perform multiple linear scans across the provided BSON objects.

Note that the existing IDL descriptions for oplog tokens assume that 'ts' fields are mandatory. This is not necessarily be true for tokens presented via applyOps. Some adjustment, or contextualization of parsing will be required.


Generated at Thu Feb 08 04:29:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.