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

SYNOPSIS

6          void
7          mongoc_client_session_advance_cluster_time (mongoc_client_session_t *session,
8                                                      const bson_t *cluster_time);
9
10       Advance  the  cluster time for a session. Has an effect only if the new
11       cluster time is greater than the session's current cluster time.
12
13       Use         mongoc_client_session_advance_operation_time()          and
14       mongoc_client_session_advance_cluster_time()  to copy the operationTime
15       and clusterTime from another session, ensuring subsequent operations in
16       this  session  are  causally  consistent with the last operation in the
17       other session
18

PARAMETERS

20session: A mongoc_client_session_t.
21
22cluster_time: The session's  new  cluster  time,  as  a  bson_t  like
23         {"cluster time": <timestamp>}.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.25.1                           NMoOvNG0O8C,_C2L0I2E3NT_SESSION_ADVANCE_CLUSTER_TIME(3)
Impressum