1MONGOC_CLIENT_SESSION_ADVANCE_OPMEORNAGTlOIiCOb_NmC_oLTnIIgEMoNEcT(_3S)ESSION_ADVANCE_OPERATION_TIME(3)
2
3
4
6 mongoc_client_session_advance_operation_time - mongoc_client_ses‐
7 sion_advance_operation_time()
8
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
20 mongoc_client_session_advance_cluster_time() to copy the operationTime
21 and clusterTime from another session, ensuring subsequent operations in
22 this session are causally consistent with the last operation in the
23 other session
24
26 • session: A mongoc_client_session_t.
27
28 • timestamp: The new operationTime's timestamp component.
29
30 • increment: The new operationTime's increment component.
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.24.3 MOANuGgOC1_7C,LI2E0N2T3_SESSION_ADVANCE_OPERATION_TIME(3)