Кто удерживает клиента и когда видны события закрытия
mongodb125-lifecycle-request-timeline
Журнал и промежуточные данные
products
[
{
"sku": "CUP",
"price": 500
},
{
"sku": "LAMP",
"price": 1200
}
]actual_lifecycle
[
{
"event": "topologyOpening",
"topology_id": "6ae3b1a77ec1255970047115"
},
{
"event": "serverOpening",
"topology_id": "6ae3b1a77ec1255970047115",
"host": "127.0.0.1",
"port": 27075
},
{
"event": "serverClosed",
"topology_id": "6ae3b1a77ec1255970047115",
"host": "127.0.0.1",
"port": 27075
},
{
"event": "topologyClosed",
"topology_id": "6ae3b1a77ec1255970047115"
}
]actual_class_contracts
{
"topologyOpening": {
"class": "MongoDB\\Driver\\Monitoring\\TopologyOpeningEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"serverOpening": {
"class": "MongoDB\\Driver\\Monitoring\\ServerOpeningEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"serverClosed": {
"class": "MongoDB\\Driver\\Monitoring\\ServerClosedEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
},
"topologyClosed": {
"class": "MongoDB\\Driver\\Monitoring\\TopologyClosedEvent",
"same": true,
"final": true,
"not_instantiable": true,
"new_rejected": true,
"readonly": true
}
}PHP 8.5.11; ext-mongodb 2.5.5; сервер 8.0.34. События настоящие; закрытие клиента не означает остановку сервера.