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

NAME

6       mongoc_client_session_advance_operation_time    -    mongoc_client_ses‐
7       sion_advance_operation_time()
8

SYNOPSIS

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

PARAMETERS

25       · session: A mongoc_client_session_t.
26
27       · timestamp: The new operationTime's timestamp component.
28
29       · increment: The new operationTime's increment component.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.17.4                         MOFNeGbOC0_4C,LI2E0N2T1_SESSION_ADVANCE_OPERATION_TIME(3)
Impressum