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_session_ad‐
7       vance_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
18       mongoc_client_session_advance_cluster_time() to copy the  operationTime
19       and clusterTime from another session, ensuring subsequent operations in
20       this session are causally consistent with the  last  operation  in  the
21       other session
22

PARAMETERS

24session: A mongoc_client_session_t.
25
26cluster_time:  The  session's  new  cluster  time,  as  a bson_t like
27         {"cluster time": <timestamp>}.
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.23.1                           OMcOtNG2O0C,_C2L0I2E2NT_SESSION_ADVANCE_CLUSTER_TIME(3)
Impressum