1MONGOC_CLIENT_SESSION_ADVANCE_CLUSMTOElNRiG_bOTmCIo_MnCEgL(oI3cE)NT_SESSION_ADVANCE_CLUSTER_TIME(3)
2
3
4

NAME

6       mongoc_client_session_advance_cluster_time     -     mongoc_client_ses‐
7       sion_advance_cluster_time()
8

SYNOPSIS

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

PARAMETERS

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

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.17.4                           FMeObNG0O4C,_C2L0I2E1NT_SESSION_ADVANCE_CLUSTER_TIME(3)
Impressum