略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: log_killcursor

2024-11-13

log_killcursor

(PECL mongo >= 1.5.0)

log_killcursorCallback When Executing KILLCURSOR operations

说明

log_killcursor ( array $server , array $info )

A callable function, used by the log_killcursor context option, when reading a killcursor from MongoDB.

Note:

This is not a real function, only a prototype of how the function should be.

参数

server

An array containing the basic information about the server that was picked.

key value
hash server hash, example: localhost:27017;-;X;56052
type Node type (primary/secondary/mongos/arbiter): 2
max_bson_size The maximum BSON Size over the wire this node accepts: 16777216
max_message_size The maximum Message Size over the wire this node accepts: 48000000
request_id The request identifier for this message: 42
info

key value
cursor_id integer, the cursor identifier to kill
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.log-killcursor.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3