summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/image_collection_entry.idl
blob: 51f4612559343f063800bd49672fff2818c24c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Oplog Entry IDL File

global:
    cpp_namespace: "mongo::repl"

imports:
    - "mongo/idl/basic_types.idl"
    - "mongo/db/logical_session_id.idl"
    - "mongo/db/repl/oplog_entry.idl"

structs:
    ImageEntry:
        description: "Represents either a pre-image or post-image necessary for satisfying a
                      retryable findAndModify."
        strict: false
        fields:
            _id:
                cpp_name: _id
                type: LogicalSessionId
            txnNum:
                cpp_name: txnNumber
                type: TxnNumber
            ts:
                cpp_name: ts
                type: timestamp
            imageKind:
                cpp_name: imageKind
                type: RetryImage
            image:
                cpp_name: image
                type: object
            invalidated:
                cpp_name: invalidated
                type: bool
                default: false
            invalidatedReason:
                cpp_name: invalidatedReason
                type: string
                optional: true