mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
dont try to queue packets for sending to (recently) deleted nodes since these nodes do not have a queue.
(This used to be ctdb commit 1b7c88ae7643f9bcc52b1d33095f97de88fc2316)
This commit is contained in:
parent
8a0880c843
commit
6c0c3577f8
@ -560,7 +560,12 @@ void ctdb_queue_packet(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
|
||||
|
||||
node = ctdb->nodes[hdr->destnode];
|
||||
|
||||
if (hdr->destnode == ctdb->pnn) {
|
||||
if (node->flags & NODE_FLAGS_DELETED) {
|
||||
DEBUG(DEBUG_ERR, (__location__ " Can not queue packet to DELETED node %d\n", hdr->destnode));
|
||||
return;
|
||||
}
|
||||
|
||||
if (node->pnn == ctdb->pnn) {
|
||||
ctdb_defer_packet(ctdb, hdr);
|
||||
} else {
|
||||
if (ctdb->methods == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user