1MONGOC_CLIENT_SESSION_ADVANCE_OPMEORNAGTlOIiCOb_NmC_oLTnIIgEMoNEcT(_3S)ESSION_ADVANCE_OPERATION_TIME(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_client_session_advance_operation_time (mongoc_client_session_t *session,
8                                                        uint32_t timestamp,
9                                                        uint32_t increment);
10
11       Advance  the  session's  operation  time, expressed as a BSON Timestamp
12       with timestamp and increment components. Has an effect only if the  new
13       operation time is greater than the session's current operation time.
14
15       Use          mongoc_client_session_advance_operation_time()         and
16       mongoc_client_session_advance_cluster_time() to copy the  operationTime
17       and clusterTime from another session, ensuring subsequent operations in
18       this session are causally consistent with the  last  operation  in  the
19       other session
20

PARAMETERS

22session: A mongoc_client_session_t.
23
24timestamp: The new operationTime's timestamp component.
25
26increment: The new operationTime's increment component.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.25.1                         MONNoGvOC0_8C,LI2E0N2T3_SESSION_ADVANCE_OPERATION_TIME(3)
Impressum