log_write_batch
Callback When Writing Batches
Description
log_write_batch
( array $server
, array $writeOptions
, array $batch
, array $protocolOptions
)
Note:
This is not a real function, only a prototype of how the function should
be.
Parameters
-
server
-
An array containing the basic information about the server that was picked.
-
writeOptions
-
writeConcern array values key | value |
fsync | boolean, force flushing to disk before returning |
j | boolean, force journal write before returning |
wtimeout | integer, milliseconds, maximum time the primary is allowed to wait to verify replication |
w | integer=server count, or string=replication-tag |
-
batch
-
Array, the actual batch operation.
-
protocolOptions
-