1MONGOC_CLIENT_SESSION_ADVANCE_CLMUoSnMTgOEoNRDG_BOTCIC_MCEDL(rI3iE)vNeTr_SESSION_ADVANCE_CLUSTER_TIME(3)
2
3
4
6 mongoc_client_session_advance_cluster_time - mongoc_client_ses‐
7 sion_advance_cluster_time()
8
10 void
11 mongoc_client_session_advance_cluster_time (mongoc_client_session_t *session,
12 const bson_t *cluster_time);
13
14 Advance the cluster time for a session. Has an effect only if the new
15 cluster time is greater than the session's current cluster time.
16
17 Use mongoc_client_session_advance_operation_time and mongoc_client_ses‐
18 sion_advance_cluster_time to copy the operationTime and clusterTime
19 from another session, ensuring subsequent operations in this session
20 are causally consistent with the last operation in the other session
21
23 · session: A mongoc_client_session_t.
24
25 · cluster_time: The session's new cluster time, as a bson_t like
26 {"cluster time": <timestamp>}.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.15.2 NMoOvNG0O6C,_C2L0I1E9NT_SESSION_ADVANCE_CLUSTER_TIME(3)